diff --git a/components/esp_hw_support/CMakeLists.txt b/components/esp_hw_support/CMakeLists.txt index 60765f2c93..9f99f199b2 100644 --- a/components/esp_hw_support/CMakeLists.txt +++ b/components/esp_hw_support/CMakeLists.txt @@ -187,7 +187,7 @@ endif() if(CONFIG_IDF_TARGET_ESP32H4) list(REMOVE_ITEM srcs - "sleep_modes.c" + # "sleep_modes.c" "sleep_gpio.c" # TODO: [ESP32H4] IDF-12279, IDF-12281 ) endif() diff --git a/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in b/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in index 178ca3b3d6..8ed809106d 100644 --- a/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in @@ -67,10 +67,6 @@ config SOC_FLASH_ENC_SUPPORTED bool default y -config SOC_MODEM_CLOCK_SUPPORTED - bool - default y - config SOC_PMU_SUPPORTED bool default y @@ -103,6 +99,18 @@ config SOC_SPIRAM_SUPPORTED bool default y +config SOC_LIGHT_SLEEP_SUPPORTED + bool + default y + +config SOC_MODEM_CLOCK_SUPPORTED + bool + default y + +config SOC_PM_SUPPORTED + bool + default y + config SOC_XTAL_SUPPORT_32M bool default y @@ -843,6 +851,10 @@ config SOC_PM_SUPPORT_BT_WAKEUP bool default y +config SOC_PM_SUPPORT_EXT1_WAKEUP + bool + default y + config SOC_PM_SUPPORT_EXT1_WAKEUP_MODE_PER_PIN bool default y @@ -851,10 +863,6 @@ config SOC_PM_SUPPORT_TOUCH_WAKEUP bool default y -config SOC_PM_SUPPORT_MODEM_PD - bool - default y - config SOC_PM_SUPPORT_XTAL32K_PD bool default y diff --git a/components/soc/esp32h4/include/soc/soc_caps.h b/components/soc/esp32h4/include/soc/soc_caps.h index d23e7f8e22..200612c6af 100644 --- a/components/soc/esp32h4/include/soc/soc_caps.h +++ b/components/soc/esp32h4/include/soc/soc_caps.h @@ -70,7 +70,6 @@ // #define SOC_ECC_SUPPORTED 1 // TODO: [ESP32H4] IDF-12264 #define SOC_FLASH_ENC_SUPPORTED 1 // TODO: [ESP32H4] IDF-12261 // #define SOC_SECURE_BOOT_SUPPORTED 1 // TODO: [ESP32H4] IDF-12262 -#define SOC_MODEM_CLOCK_SUPPORTED 1 // #define SOC_BOD_SUPPORTED 1 // TODO: [ESP32H4] IDF-12295 // #define SOC_APM_SUPPORTED 1 // TODO: [ESP32H4] IDF-12256 @@ -87,7 +86,10 @@ #define SOC_WDT_SUPPORTED 1 #define SOC_SPI_FLASH_SUPPORTED 1 // TODO: [ESP32H4] IDF-12388 #define SOC_SPIRAM_SUPPORTED 1 - +#define SOC_LIGHT_SLEEP_SUPPORTED 1 +// #define SOC_DEEP_SLEEP_SUPPORTED 1 +#define SOC_MODEM_CLOCK_SUPPORTED 1 +#define SOC_PM_SUPPORTED 1 /*-------------------------- XTAL CAPS ---------------------------------------*/ #define SOC_XTAL_SUPPORT_32M 1 #define SOC_XTAL_CLOCK_PATH_DEPENDS_ON_TOP_DOMAIN 1 @@ -524,11 +526,11 @@ // TODO: IDF-12286 (inherit from verify code, need check) /*-------------------------- Power Management CAPS ----------------------------*/ #define SOC_PM_SUPPORT_BT_WAKEUP (1) -// #define SOC_PM_SUPPORT_EXT1_WAKEUP (1) +#define SOC_PM_SUPPORT_EXT1_WAKEUP (1) #define SOC_PM_SUPPORT_EXT1_WAKEUP_MODE_PER_PIN (1) /*!