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
2025-11-20 11:23:14 +08:00
parent 613f0051f2
commit d80819f6d7
+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"