Search found 2 matches

by mdaupu
Fri Sep 18, 2020 6:50 pm
Forum: General Discussion
Topic: ESP32 crashes if I use vTaskDelay in app_main function
Replies: 5
Views: 6414

Re: ESP32 crashes if I use vTaskDelay in app_main function

Thank you guys for your replies. I have found the solution of this issue. In the main.c file, there is a define named IDLE_TASK_SIZE. The value was 100. I have changed it to 1000. Now I can use different vTaskDelay in the app_main function. The ESP32 does not reset now.
by mdaupu
Sun Sep 13, 2020 6:52 pm
Forum: General Discussion
Topic: ESP32 crashes if I use vTaskDelay in app_main function
Replies: 5
Views: 6414

ESP32 crashes if I use vTaskDelay in app_main function

Hello everyone, I have written a simple program using amazon freertos. I am using ESP32-WROOM-32UE module. If I use vTaskDelay in the app_main function, the ESP32 restarts. But if I use 9 or less than 9 value in the vTaskDelay, it works. My question is, why esp32 restarts if I use more than 9ms dela...