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 1737a69 commit cbe137cCopy full SHA for cbe137c
ports/qemu/main.c
@@ -28,7 +28,6 @@
28
29
#include "py/compile.h"
30
#include "py/runtime.h"
31
-#include "py/stackctrl.h"
32
#include "py/gc.h"
33
#include "py/mperrno.h"
34
#include "shared/runtime/gchelper.h"
@@ -41,8 +40,7 @@
41
40
static uint32_t gc_heap[MICROPY_HEAP_SIZE / sizeof(uint32_t)];
42
43
int main(int argc, char **argv) {
44
- mp_stack_ctrl_init();
45
- mp_stack_set_limit(10240);
+ mp_cstack_init_with_sp_here(10240);
46
gc_init(gc_heap, (char *)gc_heap + MICROPY_HEAP_SIZE);
47
48
for (;;) {
0 commit comments