Просмотр исходного кода

esp_psram: update flash content moved to psram kconfig description

gaoxu 3 лет назад
Родитель
Сommit
76eef386bb

+ 13 - 8
components/esp_psram/esp32s2/Kconfig.spiram

@@ -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"

+ 12 - 7
components/esp_psram/esp32s3/Kconfig.spiram

@@ -65,20 +65,25 @@ menu "SPI RAM config"
             help
                 The PSRAM CS IO can be any unused GPIO, please refer to your 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, rodata in flash will be copied into SPIRAM.
-            If SPIRAM_FETCH_INSTRUCTIONS is 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"