diff --git a/src/micropython b/src/micropython index 4f0bfd6f7..a227879d2 160000 --- a/src/micropython +++ b/src/micropython @@ -1 +1 @@ -Subproject commit 4f0bfd6f7a8551b1fef462f88b51dbc202958d99 +Subproject commit a227879d2411f157122bd4bed0cce1357114c53f diff --git a/src/omv/ports/stm32/main.c b/src/omv/ports/stm32/main.c index fb0d2f2f7..8e557c2d1 100644 --- a/src/omv/ports/stm32/main.c +++ b/src/omv/ports/stm32/main.c @@ -482,6 +482,11 @@ soft_reset: // GC init gc_init(&_heap_start, &_heap_end); + #if MICROPY_ENABLE_PYSTACK + static mp_obj_t pystack[384]; + mp_pystack_init(pystack, &pystack[384]); + #endif + // Micro Python init mp_init(); mp_obj_list_init(mp_sys_path, 0);