change(esp_hw_support); place the sleep flow context to internal ram when enable flash pd

This commit is contained in:
Li Shuai
2025-03-06 20:34:33 +08:00
parent fc1d6cb7d8
commit f90ba037fc

View File

@@ -70,6 +70,9 @@ menu "Hardware Settings"
# regardless of power management configuration. # regardless of power management configuration.
config ESP_SLEEP_POWER_DOWN_FLASH config ESP_SLEEP_POWER_DOWN_FLASH
bool "Power down flash in light sleep when there is no SPIRAM or SPIRAM has independent power supply" bool "Power down flash in light sleep when there is no SPIRAM or SPIRAM has independent power supply"
select PM_SLP_IRAM_OPT
select PERIPH_CTRL_FUNC_IN_IRAM
select REGI2C_CTRL_FUNC_IN_IRAM
depends on !SPIRAM || ESP_LDO_RESERVE_PSRAM depends on !SPIRAM || ESP_LDO_RESERVE_PSRAM
depends on !(IDF_TARGET_ESP32P4 && (ESP32P4_REV_MIN_FULL < 100)) depends on !(IDF_TARGET_ESP32P4 && (ESP32P4_REV_MIN_FULL < 100))
default n default n