mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Add mpy stack option to mpconfig.
This commit is contained in:
parent
35ff974264
commit
ff19149f59
@ -1 +1 @@
|
||||
Subproject commit 4f0bfd6f7a8551b1fef462f88b51dbc202958d99
|
||||
Subproject commit a227879d2411f157122bd4bed0cce1357114c53f
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user