core dump: don't allow core dumps to Flash if PSRAM is used for stacks
It is not possible to write to Flash when the stack is located in PSRAM, and it is not possible to write PSRAM buffers into Flash when malloc can not be used.
This commit is contained in:
parent
6f7be93d53
commit
4f32a06f87
1 changed files with 3 additions and 0 deletions
|
@ -6,12 +6,15 @@ menu "Core dump"
|
||||||
help
|
help
|
||||||
Select place to store core dump: flash, uart or none (to disable core dumps generation).
|
Select place to store core dump: flash, uart or none (to disable core dumps generation).
|
||||||
|
|
||||||
|
Core dumps to Flash are not available if PSRAM is used for task stacks.
|
||||||
|
|
||||||
If core dump is configured to be stored in flash and custom partition table is used add
|
If core dump is configured to be stored in flash and custom partition table is used add
|
||||||
corresponding entry to your CSV. For examples, please see predefined partition table CSV descriptions
|
corresponding entry to your CSV. For examples, please see predefined partition table CSV descriptions
|
||||||
in the components/partition_table directory.
|
in the components/partition_table directory.
|
||||||
|
|
||||||
config ESP32_ENABLE_COREDUMP_TO_FLASH
|
config ESP32_ENABLE_COREDUMP_TO_FLASH
|
||||||
bool "Flash"
|
bool "Flash"
|
||||||
|
depends on !SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
|
||||||
select ESP32_ENABLE_COREDUMP
|
select ESP32_ENABLE_COREDUMP
|
||||||
config ESP32_ENABLE_COREDUMP_TO_UART
|
config ESP32_ENABLE_COREDUMP_TO_UART
|
||||||
bool "UART"
|
bool "UART"
|
||||||
|
|
Loading…
Reference in a new issue