Skip to content

Commit

Permalink
Increase default system event task stack size.
Browse files Browse the repository at this point in the history
Fixes the crash reported in #3660.
  • Loading branch information
Jade Mattsson committed Oct 24, 2024
1 parent 6be07fb commit 0c3c522
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y

# Empirical value to prevent a firmware crash due to stack overflow.
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
CONFIG_ESP_TASK_WDT_PANIC=y
Expand Down

0 comments on commit 0c3c522

Please sign in to comment.