Skip to content

Commit 003b54e

Browse files
committed
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
1 parent c67901f commit 003b54e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/esp_psram/esp32p4/Kconfig.spiram

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ menu "PSRAM config"
6363
config SPIRAM_XIP_FROM_PSRAM
6464
bool "Enable Executable in place from (XiP) from PSRAM feature (READ HELP)"
6565
default n
66+
depends on SPIRAM_BOOT_INIT
6667
select SPIRAM_FETCH_INSTRUCTIONS
6768
select SPIRAM_RODATA
6869
select SPIRAM_FLASH_LOAD_TO_PSRAM

0 commit comments

Comments
 (0)