ESP32 machine.WDT #10836
-
What is the maximum watchdog period? I saw some comments about fixing it in the ESP-IDF to run for more than an hour. I am up to about 80 minutes and was wondering when I was going to hit the limit. I assume that the WDT uses the RTC timer when in deepsleep(). |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
The maximum is infinite of course (don't enable the WDT). I am certainly not a MP expert but given the timeout arg is in millisecs then I would expect the maximum time to be 2^32 / 1000 / 60 / 60 / 24 = 49 days which is obviously kind of pointless however. |
Beta Was this translation helpful? Give feedback.
-
I vaguely recall a 32 bit unsigned int but could not find the reference. Thank you for clarifying that. |
Beta Was this translation helpful? Give feedback.
-
docs/ESP32: Reinitialize watchdog timer with longer timeout. #11981 |
Beta Was this translation helpful? Give feedback.
-
There is no watchdog active during deepsleep(). I think we already discussed this in #10498. |
Beta Was this translation helpful? Give feedback.
The maximum is infinite of course (don't enable the WDT). I am certainly not a MP expert but given the timeout arg is in millisecs then I would expect the maximum time to be 2^32 / 1000 / 60 / 60 / 24 = 49 days which is obviously kind of pointless however.