Skip to content

Commit a3e4e24

Browse files
committed
change(esp_hw_support): optimize get hp/lp dbias implementation iram or flash usage control by PM_SLP_IRAM_OPT
1 parent 59c7a63 commit a3e4e24

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

components/esp_hw_support/linker.lf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ entries:
3131
rtc_sleep:rtc_sleep_pu (noflash)
3232
if SOC_PMU_SUPPORTED = y && SOC_LIGHT_SLEEP_SUPPORTED = y:
3333
pmu_sleep (noflash)
34-
if SPIRAM_FLASH_LOAD_TO_PSRAM = y:
35-
pmu_init (noflash)
36-
pmu_param (noflash)
34+
if SPIRAM_FLASH_LOAD_TO_PSRAM = y:
35+
pmu_init (noflash)
36+
pmu_param (noflash)
37+
elif PM_SLP_IRAM_OPT = y && IDF_TARGET_ESP32P4 != y:
38+
pmu_param:get_act_hp_dbias (noflash)
39+
pmu_param:get_act_lp_dbias (noflash)
3740
if PM_SLP_IRAM_OPT = y && SOC_USB_SERIAL_JTAG_SUPPORTED = y:
3841
sleep_console (noflash)
3942
if PM_SLP_IRAM_OPT = y && SOC_USB_OTG_SUPPORTED && SOC_PM_SUPPORT_CNNT_PD = y:

0 commit comments

Comments
 (0)