|
|
@@ -8,10 +8,6 @@ config SPIRAM
|
|
|
menu "SPI RAM config"
|
|
|
depends on SPIRAM
|
|
|
|
|
|
- config SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
|
|
|
- bool
|
|
|
- default "y"
|
|
|
-
|
|
|
choice SPIRAM_MODE
|
|
|
prompt "Mode (QUAD/OCT) of SPI RAM chip in use"
|
|
|
default SPIRAM_MODE_QUAD
|
|
|
@@ -42,6 +38,17 @@ menu "SPI RAM config"
|
|
|
bool "ESP-PSRAM64 , LY68L6400 or APS6408"
|
|
|
endchoice
|
|
|
|
|
|
+ config SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
|
|
|
+ bool "Allow external memory as an argument to xTaskCreateStatic"
|
|
|
+ default y
|
|
|
+ help
|
|
|
+ Accessing memory in SPIRAM has certain restrictions, so task stacks allocated by xTaskCreate
|
|
|
+ are by default allocated from internal RAM.
|
|
|
+
|
|
|
+ This option allows for passing memory allocated from SPIRAM to be passed to xTaskCreateStatic.
|
|
|
+ This should only be used for tasks where the stack is never accessed while the cache is disabled.
|
|
|
+ Cannot be used together with ESP_COREDUMP_ENABLE_TO_FLASH.
|
|
|
+
|
|
|
menu "PSRAM Clock and CS IO for ESP32S3"
|
|
|
depends on SPIRAM
|
|
|
config DEFAULT_PSRAM_CLK_IO
|