cc3200/mptask: Replace mp_stack_set_top with mp_cstack_init_with_top.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-09-26 00:36:13 +10:00
parent 76efdfa4d0
commit 2399b4ea68

View File

@@ -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);