1 parent 7a53ac8 commit d2d0648Copy full SHA for d2d0648
1 file changed
qemu-arm/main.c
@@ -8,6 +8,7 @@
8
#include "py/compile.h"
9
#include "py/runtime0.h"
10
#include "py/runtime.h"
11
+#include "py/stackctrl.h"
12
#include "py/repl.h"
13
#include "py/pfenv.h"
14
@@ -49,6 +50,7 @@ void do_str(const char *src) {
49
50
}
51
52
int main(int argc, char **argv) {
53
+ mp_stack_set_limit(10240);
54
mp_init();
55
do_str("print('hello world!')");
56
mp_deinit();
0 commit comments