I have used the folloving code do disable the watchdog but it cant compile after som new libraries. how can I get this to work again.
TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;
TIMERG1.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG1.wdt_feed=1;
TIMERG1.wdt_wprotect=0;
Regards Erik
Disable watchdog
-
- Posts: 172
- Joined: Sun Jun 23, 2024 6:18 pm
Re: Disable watchdog
Please check this doc out: https://docs.espressif.com/projects/esp ... /wdts.html
-
- Posts: 9
- Joined: Fri Jan 26, 2024 6:53 pm
Re: Disable watchdog
I am not using ESP-IDF to program but arduino IDE, I only need how to du the code that is working before loading new libraries.
what du I have to change to get it to work again ?
Erik
what du I have to change to get it to work again ?
Erik
-
- Posts: 9
- Joined: Fri Jan 26, 2024 6:53 pm
Re: Disable watchdog
Is there not anyone that can help me rewrite the 6 lines of code that worked 100% to kill the watchdog before update of libraries, now after I have updated the libraries in Arduino IDE I got lots of compiler errors.
Who is online
Users browsing this forum: No registered users and 104 guests