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

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

parent b490409a
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ void app_main(void) {
MICROPY_BOARD_STARTUP();
// 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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment