From c658ae66797dc5cb2a5858bbcfbec210cca8e7da Mon Sep 17 00:00:00 2001 From: Jakob Hasse Date: Wed, 12 Jun 2024 11:50:52 +0200 Subject: [PATCH] fix(esp_system): properly exclude XTAL32K WDT from other chips Closes https://github.com/espressif/esp-idf/issues/13955 --- components/esp_system/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_system/Kconfig b/components/esp_system/Kconfig index c5f33787edad..ea4290cae813 100644 --- a/components/esp_system/Kconfig +++ b/components/esp_system/Kconfig @@ -411,7 +411,7 @@ menu "ESP System Settings" default 800 if (SPIRAM && IDF_TARGET_ESP32) range 10 10000 help - The timeout of the watchdog, in miliseconds. Make this higher than the FreeRTOS tick rate. + The timeout of the watchdog, in milliseconds. Make this higher than the FreeRTOS tick rate. config ESP_INT_WDT_CHECK_CPU1 bool "Also watch CPU1 tick interrupt" @@ -485,7 +485,7 @@ menu "ESP System Settings" config ESP_XT_WDT bool "Initialize XTAL32K watchdog timer on startup" - depends on !IDF_TARGET_ESP32 && (ESP_SYSTEM_RTC_EXT_OSC || ESP_SYSTEM_RTC_EXT_XTAL) + depends on SOC_XT_WDT_SUPPORTED && (ESP_SYSTEM_RTC_EXT_OSC || ESP_SYSTEM_RTC_EXT_XTAL) default n help This watchdog timer can detect oscillation failure of the XTAL32K_CLK. When such a failure