stack overflow in task wifi How to increase stack size

neel_basu
Posts: 6
Joined: Sat Jan 18, 2020 7:41 pm

stack overflow in task wifi How to increase stack size

Postby neel_basu » Fri Oct 02, 2020 2:27 pm

I am writing an ESP NOW based routing protocol. I am getting stack overflow on wifi task repeatedly.

Code: Select all

***ERROR*** A stack overflow in task wifi has been detected.
abort() was called at PC 0x4008ff64 on core 0
0x4008ff64: vApplicationStackOverflowHook at /home/neel/Projects/esp/esp-idf/components/esp32/panic.c:125
Following is the `vTaskList` output

Code: Select all

httpd           R       5       3592    15      -1
main            R       1       1592    5       0
IDLE1           R       0       1088    7       1
IDLE0           R       0       964     6       0
tiT             B       18      2704    12      -1
Tmr Svc         B       1       1584    8       0
esp_timer       B       22      3640    1       0
ipc1            B       24      544     3       1
sys_evt         B       20      1912    13      0
wifi            B       23      1496    14      0
ipc0            B       24      564     2       0
How can I increase the stack size of the wifi task ?

Who is online

Users browsing this forum: Bing [Bot] and 93 guests