Closed CircuitSetup closed 3 years ago
Maybe it would be a good idea to get PlatformIO working instead of the Arduino IDE? That way these defines could be set as a compiler option.
I've been thinking about that. The WDT was also being triggered by async_tcp, and setting CONFIG_ASYNC_TCP_USE_WDT to 0 prevents it from being triggered.
I found a problem installing src_6chan on an esp32. It reboots after wifi-setup. The error on the monitor serie say "task watchdog got triggered. the following tasks did not reset the watchdog in time" Looking for the source of the error found that just commenting out a delay fix the problem. … // Bring up the web server web_server_setup(); //delay(500); <-- Fix continuos reboot. …
If the ESP32 goes into AP mode, the watchdog is triggered because WIFI_CLIENT_DISCONNECT_RETRY is set to 10 seconds.
Need to write some code to handle the watchdog if WIFI_CLIENT_DISCONNECT_RETRY > 5000 (5 seconds)