Skip to content
Snippets Groups Projects
Commit f6965a4e authored by iggy's avatar iggy
Browse files

restored mpy stack size to original size (to fix stack overflow crashes)

parent d6dc694d
No related branches found
No related tags found
No related merge requests found
...@@ -240,7 +240,7 @@ void app_main(void) { ...@@ -240,7 +240,7 @@ void app_main(void) {
MICROPY_BOARD_STARTUP(); MICROPY_BOARD_STARTUP();
// Create and transfer control to the MicroPython task. // Create and transfer control to the MicroPython task.
xTaskCreatePinnedToCore(mp_task, "mp_task", (MP_TASK_STACK_SIZE / sizeof(StackType_t)) / 2, NULL, MP_TASK_PRIORITY, &mp_main_task_handle, MP_TASK_COREID); xTaskCreatePinnedToCore(mp_task, "mp_task", MP_TASK_STACK_SIZE / sizeof(StackType_t), NULL, MP_TASK_PRIORITY, &mp_main_task_handle, MP_TASK_COREID);
os_app_main(); // ./badge23/ entry point os_app_main(); // ./badge23/ entry point
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment