Increase default system event task stack size.

Fixes the crash reported in #3660.
This commit is contained in:
Jade Mattsson 2024-10-24 16:12:39 +11:00 committed by Jade Mattsson
parent 6be07fbbf2
commit 7c5bb15154
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y
# Empirical value to prevent a firmware crash due to stack overflow. # Empirical value to prevent a firmware crash due to stack overflow.
CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192 CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
# Increase the event task stack size to avoid crash on C3 during WiFi connect.
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=3072
# Enable panic handler for task wdt to reset the firmware upon wdt timeout # Enable panic handler for task wdt to reset the firmware upon wdt timeout
CONFIG_ESP_TASK_WDT_PANIC=y CONFIG_ESP_TASK_WDT_PANIC=y