|
|
@@ -14,7 +14,6 @@ menu "Core dump"
|
|
|
|
|
|
config ESP_COREDUMP_ENABLE_TO_FLASH
|
|
|
bool "Flash"
|
|
|
- depends on !SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
|
|
|
select FREERTOS_ENABLE_TASK_SNAPSHOT
|
|
|
select ESP_COREDUMP_ENABLE
|
|
|
config ESP_COREDUMP_ENABLE_TO_UART
|
|
|
@@ -79,9 +78,19 @@ menu "Core dump"
|
|
|
Config delay (in ms) before printing core dump to UART.
|
|
|
Delay can be interrupted by pressing Enter key.
|
|
|
|
|
|
+
|
|
|
+ config ESP_COREDUMP_USE_STACK_SIZE
|
|
|
+ bool
|
|
|
+ default y if ESP_COREDUMP_ENABLE_TO_FLASH && SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
|
|
|
+ default n
|
|
|
+ help
|
|
|
+ Force the use of a custom DRAM stack for coredump when Task stacks can be in PSRAM.
|
|
|
+
|
|
|
config ESP_COREDUMP_STACK_SIZE
|
|
|
int "Reserved stack size"
|
|
|
depends on ESP_COREDUMP_ENABLE
|
|
|
+ range 0 4096 if !ESP_COREDUMP_USE_STACK_SIZE
|
|
|
+ range 1280 4096 if ESP_COREDUMP_USE_STACK_SIZE
|
|
|
default 0
|
|
|
help
|
|
|
Size of the memory to be reserved for core dump stack. If 0 core dump process will run on
|