@@ -82,10 +82,12 @@ menu "ESP32S2-specific"
82
82
83
83
choice ESP32S2_DATA_CACHE_SIZE
84
84
prompt "Data cache size"
85
- default ESP32S2_DATA_CACHE_8KB
85
+ default ESP32S2_DATA_CACHE_0KB if !ESP32S2_SPIRAM_SUPPORT
86
+ default ESP32S2_DATA_CACHE_8KB if ESP32S2_SPIRAM_SUPPORT
86
87
help
87
88
Data cache size to be set on application startup.
88
- If you use 8KB data cache rather than 16KB data cache, the other 8KB will be added to the heap.
89
+ If you use 0KB data cache, the other 16KB will be added to the heap
90
+ If you use 8KB data cache rather than 16KB data cache, the other 8KB will be added to the heap
89
91
90
92
config ESP32S2_DATA_CACHE_0KB
91
93
depends on !ESP32S2_SPIRAM_SUPPORT
@@ -212,30 +214,11 @@ menu "ESP32S2-specific"
212
214
If SPIRAM_FETCH_INSTRUCTIONS also enabled,
213
215
you can run the instruction when erasing or programming the flash.
214
216
215
- config SPIRAM_USE_AHB_DBUS3
216
- bool "Enable AHB DBUS3 to access SPIRAM"
217
- default n
218
- help
219
- If Enabled, if SPI_CONFIG_SIZE is bigger then 10MB+576KB,
220
- then you can have 4MB more space to map the SPIRAM.
221
- However, the AHB bus is slower than other data cache buses.
222
-
223
217
choice SPIRAM_SPEED
224
218
prompt "Set RAM clock speed"
225
219
default SPIRAM_SPEED_40M
226
220
help
227
221
Select the speed for the SPI RAM chip.
228
- If SPI RAM is enabled, we only support three combinations of SPI speed mode we supported now:
229
-
230
- 1. Flash SPI running at 40Mhz and RAM SPI running at 40Mhz
231
- 2. Flash SPI running at 80Mhz and RAM SPI running at 40Mhz
232
- 3. Flash SPI running at 80Mhz and RAM SPI running at 80Mhz
233
-
234
- Note: If the third mode(80Mhz+80Mhz) is enabled for SPI RAM of type 32MBit, one of the HSPI/VSPI host
235
- will be occupied by the system. Which SPI host to use can be selected by the config item
236
- SPIRAM_OCCUPY_SPI_HOST. Application code should never touch HSPI/VSPI hardware in this case. The
237
- option to select 80MHz will only be visible if the flash SPI speed is also 80MHz.
238
- (ESPTOOLPY_FLASHFREQ_80M is true)
239
222
240
223
config SPIRAM_SPEED_80M
241
224
bool "80MHz clock speed"
0 commit comments