From 2399b4ea68ba7978d00b3bd3d315dcd57ac02ef3 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 26 Sep 2025 00:36:13 +1000 Subject: [PATCH] cc3200/mptask: Replace mp_stack_set_top with mp_cstack_init_with_top. Signed-off-by: Damien George --- ports/cc3200/mptask.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ports/cc3200/mptask.c b/ports/cc3200/mptask.c index 656a8fb872..2664e06354 100644 --- a/ports/cc3200/mptask.c +++ b/ports/cc3200/mptask.c @@ -28,7 +28,6 @@ #include #include "py/mpconfig.h" -#include "py/stackctrl.h" #include "py/obj.h" #include "py/runtime.h" #include "py/gc.h" @@ -131,7 +130,7 @@ soft_reset: #endif // initialise the stack pointer for the main thread (must be done after mp_thread_init) - mp_stack_set_top((void *)sp); + mp_cstack_init_with_top((void *)sp, 0); // GC init gc_init(&_boot, &_eheap);