Page 1 of 1

Disabling watchdog on the ESP32.

Posted: Fri Jun 09, 2017 12:21 pm
by Danner36
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.

Posted: Fri Jun 09, 2017 1:50 pm
by WiFive
How are you "waiting"?

Re: Disabling watchdog on the ESP32.

Posted: Mon Jun 12, 2017 10:43 am
by f.h-f.s.
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.