diff options
| -rw-r--r-- | ports/powerpc/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ports/powerpc/main.c b/ports/powerpc/main.c index bbd2082b4..fa6969639 100644 --- a/ports/powerpc/main.c +++ b/ports/powerpc/main.c @@ -32,7 +32,6 @@ #include "py/repl.h" #include "py/gc.h" #include "py/mperrno.h" -#include "py/stackctrl.h" #include "shared/runtime/pyexec.h" void __stack_chk_fail(void); @@ -73,10 +72,7 @@ int main(int argc, char **argv) { mp_pystack_init(pystack, &pystack[1024]); #endif - #if MICROPY_STACK_CHECK - mp_stack_ctrl_init(); - mp_stack_set_limit(48 * 1024); - #endif + mp_cstack_init_with_sp_here(48 * 1024); #if MICROPY_ENABLE_GC gc_init(heap, heap + sizeof(heap)); |
