feat(esp_hw_support): support rtc wdt during deep sleep

This commit is contained in:
hebinglin
2026-01-20 20:09:22 +08:00
parent 8555a9b3c3
commit c02944f8b8
2 changed files with 41 additions and 1 deletions
+12 -1
View File
@@ -275,7 +275,7 @@ menu "Hardware Settings"
config ESP_SLEEP_ENABLE_RTC_WDT_IN_SLEEP
bool "Enable rtc wdt during sleep (EXPERIMENTAL)"
depends on IDF_EXPERIMENTAL_FEATURES
depends on SOC_LIGHT_SLEEP_SUPPORTED
depends on (SOC_LIGHT_SLEEP_SUPPORTED || SOC_DEEP_SLEEP_SUPPORTED)
default n
help
If enabled, rtc watchdog will remain active during sleep to prevent program runaway. Specifically, its
@@ -288,6 +288,17 @@ menu "Hardware Settings"
this when enabling this option.
config ESP_SLEEP_ENABLE_RTC_WDT_IN_DEEP_SLEEP
bool "Enable rtc wdt during deep sleep (EXPERIMENTAL)"
depends on IDF_EXPERIMENTAL_FEATURES
depends on SOC_DEEP_SLEEP_SUPPORTED
default n
help
If enabled, rtc watchdog will remain active during deep sleep to prevent program runaway.
NOTE: In the current phase, the RTC watchdog will not be disabled or reset after waking from deep
sleep. Even though it will be reconfigured during the bootloader phase, there remains a concern that
a timeout could occur before this reconfiguration is completed.
endmenu
menu "RTC Clock Config"