We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8160743 commit 73d6a09Copy full SHA for 73d6a09
ports/powerpc/main.c
@@ -32,7 +32,6 @@
32
#include "py/repl.h"
33
#include "py/gc.h"
34
#include "py/mperrno.h"
35
-#include "py/stackctrl.h"
36
#include "shared/runtime/pyexec.h"
37
38
void __stack_chk_fail(void);
@@ -73,10 +72,7 @@ int main(int argc, char **argv) {
73
72
mp_pystack_init(pystack, &pystack[1024]);
74
#endif
75
76
- #if MICROPY_STACK_CHECK
77
- mp_stack_ctrl_init();
78
- mp_stack_set_limit(48 * 1024);
79
- #endif
+ mp_cstack_init_with_sp_here(48 * 1024);
80
81
#if MICROPY_ENABLE_GC
82
gc_init(heap, heap + sizeof(heap));
0 commit comments