-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'staging/coredump_extram_support' into 'master'
coredump: enable support for stacks in external RAM Closes IDF-5497 and IDF-2391 See merge request espressif/esp-idf!21067
- Loading branch information
Showing
9 changed files
with
93 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRCS "test_panic_main.c" | ||
INCLUDE_DIRS "." | ||
REQUIRES spi_flash esp_system esp_partition) | ||
REQUIRES spi_flash esp_psram esp_system esp_partition) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
tools/test_apps/system/panic/sdkconfig.ci.coredump_extram_stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CONFIG_IDF_TARGET="esp32" | ||
CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH=y | ||
CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF=y | ||
CONFIG_ESP_COREDUMP_CHECKSUM_SHA256=y | ||
# CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set | ||
CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y | ||
# We need to have the coredump info log | ||
CONFIG_LOG_DEFAULT_LEVEL_INFO=y | ||
CONFIG_SPIRAM=y | ||
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y | ||
CONFIG_ESP_COREDUMP_USE_STACK_SIZE=y |