We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74ced17 + a4e06bd commit aa63684Copy full SHA for aa63684
main.c
@@ -241,7 +241,7 @@ int __attribute__((used)) main(void) {
241
242
// Stack limit should be less than real stack size, so we have a chance
243
// to recover from limit hit. (Limit is measured in bytes.)
244
- mp_stack_ctrl_init();
+ mp_stack_set_top((char*)&_estack);
245
mp_stack_set_limit((char*)&_estack - (char*)&_ebss - 1024);
246
247
#if MICROPY_MAX_STACK_USAGE
0 commit comments