Increase console task stack size.
This allegedly resolves the reboot crashes seen on ESP32-S3 Zero. It also removes the peculiar need to explicitly call esp_vfs_console_register(), the absence of which previously would trigger an assertion failure in xQueueGenericSend on input.
This commit is contained in:
parent
bee12d0a15
commit
4931b375c0
|
@ -196,8 +196,6 @@ static void console_task(void *)
|
|||
|
||||
static void console_init(void)
|
||||
{
|
||||
esp_vfs_console_register();
|
||||
|
||||
fflush(stdout);
|
||||
fsync(fileno(stdout));
|
||||
|
||||
|
@ -260,7 +258,8 @@ static void console_init(void)
|
|||
#endif
|
||||
|
||||
xTaskCreate(
|
||||
console_task, "console", 1024, NULL, ESP_TASK_MAIN_PRIO+1, NULL);
|
||||
console_task, "console", configMINIMAL_STACK_SIZE,
|
||||
NULL, ESP_TASK_MAIN_PRIO+1, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue