|
|
@@ -56,21 +56,26 @@ menu "SPI RAM config"
|
|
|
help
|
|
|
The PSRAM CS IO can be any unused GPIO, user can config it based on hardware design.
|
|
|
endmenu
|
|
|
+
|
|
|
config SPIRAM_FETCH_INSTRUCTIONS
|
|
|
- bool "Cache fetch instructions from SPI RAM"
|
|
|
+ bool "Move Instructions in Flash to PSRAM"
|
|
|
default n
|
|
|
help
|
|
|
- If enabled, instruction in flash will be copied into SPIRAM.
|
|
|
- If SPIRAM_RODATA also enabled,
|
|
|
- you can run the instruction when erasing or programming the flash.
|
|
|
+ If enabled, instructions in flash will be moved into PSRAM on startup.
|
|
|
+ If SPIRAM_RODATA is also enabled, code that requires execution during an SPI1 Flash operation
|
|
|
+ can forgo being placed in IRAM, thus optimizing RAM usage (see External RAM documentation
|
|
|
+ for more details).
|
|
|
+
|
|
|
|
|
|
config SPIRAM_RODATA
|
|
|
- bool "Cache load read only data from SPI RAM"
|
|
|
+ bool "Move Read-Only Data in Flash to PSRAM"
|
|
|
default n
|
|
|
help
|
|
|
- If enabled, radata in flash will be copied into SPIRAM.
|
|
|
- If SPIRAM_FETCH_INSTRUCTIONS also enabled,
|
|
|
- you can run the instruction when erasing or programming the flash.
|
|
|
+ If enabled, instructions in flash will be moved into PSRAM on startup.
|
|
|
+ If SPIRAM_FETCH_INSTRUCTIONS is also enabled, code that requires execution during an SPI1 Flash operation
|
|
|
+ can forgo being placed in IRAM, thus optimizing RAM usage (see External RAM documentation
|
|
|
+ for more details).
|
|
|
+
|
|
|
|
|
|
choice SPIRAM_SPEED
|
|
|
prompt "Set RAM clock speed"
|