Update Micropython to fix GCC 12 errors
Trying to build on a recent Debian Sid with GCC 12.3.1 I get an error:
../py/stackctrl.c:32:32: error: storing the address of local variable ‘stack_dummy’ in ‘mp_state_ctx.thread.stack_top’ [-Werror=dangling-pointer=]
32 | MP_STATE_THREAD(stack_top) = (char *)&stack_dummy;
../py/stackctrl.c:31:18: note: ‘stack_dummy’ declared here
31 | volatile int stack_dummy;
| ^~~~~~~~~~~
This was fixed in Micropython upstream.
Applying the patch manually on the submodule brings another error:
main.c:342:6: error: conflicting types for ‘mp_import_stat’ due to enum/integer mismatch; have ‘uint(const char *)’ {aka ‘unsigned int(const char *)’} [-Werror=enum-int-mismatch]
342 | uint mp_import_stat(const char *path) {
| ^~~~~~~~~~~~~~
… which I supposed was probably fixed too upstream.