change(esp_pm): add an option associated with flash auto suspend and make it dependent on the hardware support modules

This commit is contained in:
Li Shuai
2026-01-04 10:42:43 +08:00
parent d5894f3a0a
commit f2cad755d3
+9
View File
@@ -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"