You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
As per the C6 feature support thread, I am now posting this as a general issue and whilst in my case it applies to C6, I think it may also be a problem on anything other than the ESP32 and S2.
On menuconfig, there is is option to allow disabling the watchdog in user code. I can't actually find any documentation related to this for anything other than the above mentioned microcontrollers.
As far as I can tell there rtc_wdt_disable() and rtc_wdt_feed(), do not apply to anything but the ESP32 and ESP32-S2 as those functions seem to be guarded by ifdefs for those devices.
Do equivalent functions exist for other devices?
I am currently using the 5.2 release branch
The text was updated successfully, but these errors were encountered:
Hi @txf-!
Thanks for noticing that.
Yes, these functions do exist only for ESP32 and S2. The API is obsolete so you need to use a new one (wdt_hal) which is available for all chips.
if(CONFIG_IDF_TARGET_ESP32 OR CONFIG_IDF_TARGET_ESP32S2)
list(APPEND srcs "rtc_wdt.c")
endif()
I will update the Kconfig description to mention to use these APIs instead.
Answers checklist.
General issue report
As per the C6 feature support thread, I am now posting this as a general issue and whilst in my case it applies to C6, I think it may also be a problem on anything other than the ESP32 and S2.
On menuconfig, there is is option to allow disabling the watchdog in user code. I can't actually find any documentation related to this for anything other than the above mentioned microcontrollers.
As far as I can tell there
rtc_wdt_disable()
andrtc_wdt_feed()
, do not apply to anything but the ESP32 and ESP32-S2 as those functions seem to be guarded by ifdefs for those devices.Do equivalent functions exist for other devices?
I am currently using the 5.2 release branch
The text was updated successfully, but these errors were encountered: