mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +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:
committed by
EmilieNumworks
parent
cd4260494a
commit
95403c8a91
@@ -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