Skip to content

Commit 7c5bb15

Browse files
jmattssonJade Mattsson
authored andcommitted
Increase default system event task stack size.
Fixes the crash reported in #3660.
1 parent 6be07fb commit 7c5bb15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdkconfig.defaults

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y
1212

1313
# Empirical value to prevent a firmware crash due to stack overflow.
1414
CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
15+
# Increase the event task stack size to avoid crash on C3 during WiFi connect.
16+
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=3072
1517

1618
# Enable panic handler for task wdt to reset the firmware upon wdt timeout
1719
CONFIG_ESP_TASK_WDT_PANIC=y

0 commit comments

Comments
 (0)