diff options
| author | Damien George <damien@micropython.org> | 2025-09-26 00:36:13 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-10-10 14:49:09 +1100 |
| commit | 2399b4ea68ba7978d00b3bd3d315dcd57ac02ef3 (patch) | |
| tree | 8d4a0894dd265e6913c24b0924080e9697b4be2f | |
| parent | 76efdfa4d017e88ad4aeae9aa22f01dcc9229f8b (diff) | |
cc3200/mptask: Replace mp_stack_set_top with mp_cstack_init_with_top.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/cc3200/mptask.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/cc3200/mptask.c b/ports/cc3200/mptask.c index 656a8fb87..2664e0635 100644 --- a/ports/cc3200/mptask.c +++ b/ports/cc3200/mptask.c @@ -28,7 +28,6 @@ #include <stdint.h> #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); |
