mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[python/port] Increase stack limit on emscripten, simulator...
The value is quite arbitrary, we just do not want to outperfom the device but still provide more recursion depth.
This commit is contained in:
@@ -105,7 +105,7 @@ void MicroPython::init(void * heapStart, void * heapEnd) {
|
||||
#else
|
||||
volatile int stackTop;
|
||||
mp_stack_set_top((void *)(&stackTop));
|
||||
mp_stack_set_limit(4000);
|
||||
mp_stack_set_limit(8192);
|
||||
#endif
|
||||
gc_init(heapStart, heapEnd);
|
||||
mp_init();
|
||||
|
||||
Reference in New Issue
Block a user