Disabling watchdog on the ESP32.
Disabling watchdog on the ESP32.
I creating a program on the ESP32 Dev Kit C and am using Visual Studio Code on the Eduino extension. When I launch my program it works as intended code wise, but the watchdog time will trigger after 2 or 3 seconds. This is a problem because my program needs to wait for data crossing the serial port before it "activates," which most of the time takes longer than 2 or 3 seconds.
Re: Disabling watchdog on the ESP32.
How are you "waiting"?
Re: Disabling watchdog on the ESP32.
You can disable the watchdogs in make menuconfig, I wouldn't recommend it though.
If you are waiting in a while loop you can use vTaskDelay to feed the dog.
If you are waiting in a while loop you can use vTaskDelay to feed the dog.
Who is online
Users browsing this forum: Bing [Bot] and 77 guests