From d80819f6d713f0511fb32efe0a4c57a36c148c16 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Thu, 20 Nov 2025 11:23:14 +0800 Subject: [PATCH] change(esp_pm): add an option associated with flash auto suspend and make it dependent on the hardware support modules --- components/esp_hw_support/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/esp_hw_support/Kconfig b/components/esp_hw_support/Kconfig index 24c349b768..efaf9a418a 100644 --- a/components/esp_hw_support/Kconfig +++ b/components/esp_hw_support/Kconfig @@ -1,5 +1,14 @@ menu "Hardware Settings" + config ESP_HW_SUPPORT_FUNC_IN_IRAM + bool + default n if SPI_FLASH_AUTO_SUSPEND + default y + select ESP_PERIPH_CTRL_FUNC_IN_IRAM + select ESP_REGI2C_CTRL_FUNC_IN_IRAM + select RTC_CLK_FUNC_IN_IRAM + select RTC_TIME_FUNC_IN_IRAM + menu "Chip revision" # Insert chip-specific HW config orsource "./port/$IDF_TARGET/Kconfig.hw_support"