feat(esp_psram): XIP from PSRAM can be used only when SPIRAM_BOOT_INIT=y for ESP32P4

In case of ESP32-P4, if SPIRAM memory initialisations are not performed during
boot-up, XIP PSRAM can be setup because of different virtual range of PSRAM and Flash
This commit is contained in:
harshal.patil
2025-04-24 15:45:51 +05:30
parent c67901fc07
commit 003b54ebfe

View File

@ -63,6 +63,7 @@ menu "PSRAM config"
config SPIRAM_XIP_FROM_PSRAM
bool "Enable Executable in place from (XiP) from PSRAM feature (READ HELP)"
default n
depends on SPIRAM_BOOT_INIT
select SPIRAM_FETCH_INSTRUCTIONS
select SPIRAM_RODATA
select SPIRAM_FLASH_LOAD_TO_PSRAM