mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 08:04:33 +02:00
esp_psram: update flash content moved to psram kconfig description
This commit is contained in:
@@ -56,21 +56,26 @@ menu "SPI RAM config"
|
|||||||
help
|
help
|
||||||
The PSRAM CS IO can be any unused GPIO, user can config it based on hardware design.
|
The PSRAM CS IO can be any unused GPIO, user can config it based on hardware design.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config SPIRAM_FETCH_INSTRUCTIONS
|
config SPIRAM_FETCH_INSTRUCTIONS
|
||||||
bool "Cache fetch instructions from SPI RAM"
|
bool "Move Instructions in Flash to PSRAM"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If enabled, instruction in flash will be copied into SPIRAM.
|
If enabled, instructions in flash will be moved into PSRAM on startup.
|
||||||
If SPIRAM_RODATA also enabled,
|
If SPIRAM_RODATA is also enabled, code that requires execution during an SPI1 Flash operation
|
||||||
you can run the instruction when erasing or programming the flash.
|
can forgo being placed in IRAM, thus optimizing RAM usage (see External RAM documentation
|
||||||
|
for more details).
|
||||||
|
|
||||||
|
|
||||||
config SPIRAM_RODATA
|
config SPIRAM_RODATA
|
||||||
bool "Cache load read only data from SPI RAM"
|
bool "Move Read-Only Data in Flash to PSRAM"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If enabled, radata in flash will be copied into SPIRAM.
|
If enabled, instructions in flash will be moved into PSRAM on startup.
|
||||||
If SPIRAM_FETCH_INSTRUCTIONS also enabled,
|
If SPIRAM_FETCH_INSTRUCTIONS is also enabled, code that requires execution during an SPI1 Flash operation
|
||||||
you can run the instruction when erasing or programming the flash.
|
can forgo being placed in IRAM, thus optimizing RAM usage (see External RAM documentation
|
||||||
|
for more details).
|
||||||
|
|
||||||
|
|
||||||
choice SPIRAM_SPEED
|
choice SPIRAM_SPEED
|
||||||
prompt "Set RAM clock speed"
|
prompt "Set RAM clock speed"
|
||||||
|
@@ -65,20 +65,25 @@ menu "SPI RAM config"
|
|||||||
help
|
help
|
||||||
The PSRAM CS IO can be any unused GPIO, please refer to your hardware design.
|
The PSRAM CS IO can be any unused GPIO, please refer to your hardware design.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config SPIRAM_FETCH_INSTRUCTIONS
|
config SPIRAM_FETCH_INSTRUCTIONS
|
||||||
bool "Cache fetch instructions from SPI RAM"
|
bool "Move Instructions in Flash to PSRAM"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If enabled, instruction in flash will be copied into SPIRAM.
|
If enabled, instructions in flash will be moved into PSRAM on startup.
|
||||||
If SPIRAM_RODATA also enabled, you can run the instruction when erasing or programming the flash.
|
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
|
config SPIRAM_RODATA
|
||||||
bool "Cache load read only data from SPI RAM"
|
bool "Move Read-Only Data in Flash to PSRAM"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If enabled, rodata in flash will be copied into SPIRAM.
|
If enabled, instructions in flash will be moved into PSRAM on startup.
|
||||||
If SPIRAM_FETCH_INSTRUCTIONS is also enabled,
|
If SPIRAM_FETCH_INSTRUCTIONS is also enabled, code that requires execution during an SPI1 Flash operation
|
||||||
you can run the instruction when erasing or programming the flash.
|
can forgo being placed in IRAM, thus optimizing RAM usage (see External RAM documentation
|
||||||
|
for more details).
|
||||||
|
|
||||||
choice SPIRAM_SPEED
|
choice SPIRAM_SPEED
|
||||||
prompt "Set RAM clock speed"
|
prompt "Set RAM clock speed"
|
||||||
|
Reference in New Issue
Block a user