mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 14:20:39 +01:00
[python] Update to MicroPython 1.9.4
This commit is contained in:
committed by
EmilieNumworks
parent
caff93cda0
commit
73250e727a
@@ -165,6 +165,12 @@ STATIC void *thread_entry(void *args_in) {
|
||||
mp_stack_set_top(&ts + 1); // need to include ts in root-pointer scan
|
||||
mp_stack_set_limit(args->stack_size);
|
||||
|
||||
#if MICROPY_ENABLE_PYSTACK
|
||||
// TODO threading and pystack is not fully supported, for now just make a small stack
|
||||
mp_obj_t mini_pystack[128];
|
||||
mp_pystack_init(mini_pystack, &mini_pystack[128]);
|
||||
#endif
|
||||
|
||||
// set locals and globals from the calling context
|
||||
mp_locals_set(args->dict_locals);
|
||||
mp_globals_set(args->dict_globals);
|
||||
|
||||
Reference in New Issue
Block a user