Skip to content

Commit

Permalink
Merge branch 'bugfix/coredump_no_ext_stacks_v4.1' into 'release/v4.1'
Browse files Browse the repository at this point in the history
core dump: don't allow core dumps to Flash if PSRAM is used for stacks (backport v4.1)

See merge request espressif/esp-idf!8228
  • Loading branch information
jack0c committed Apr 15, 2020
2 parents b08b0f0 + cd301cc commit b3410b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/espcoredump/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ menu "Core dump"
help
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
corresponding entry to your CSV. For examples, please see predefined partition table CSV descriptions
in the components/partition_table directory.

config ESP32_ENABLE_COREDUMP_TO_FLASH
bool "Flash"
depends on !SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
select ESP32_ENABLE_COREDUMP
config ESP32_ENABLE_COREDUMP_TO_UART
bool "UART"
Expand Down

0 comments on commit b3410b9

Please sign in to comment.