2021-02-09 10:09:09 +00:00
|
|
|
[sections:rtc_fast_coredump]
|
|
|
|
entries:
|
|
|
|
.rtc.fast.coredump+
|
|
|
|
|
|
|
|
[sections:rtc_coredump]
|
|
|
|
entries:
|
|
|
|
.rtc.coredump+
|
|
|
|
|
|
|
|
[sections:dram_coredump]
|
|
|
|
entries:
|
|
|
|
.dram1.coredump+
|
|
|
|
|
|
|
|
if IDF_TARGET_ESP32S2 = n:
|
|
|
|
[sections:iram_coredump]
|
|
|
|
entries:
|
|
|
|
.iram.data.coredump+
|
|
|
|
|
|
|
|
[scheme:coredump_default]
|
|
|
|
entries:
|
2021-02-09 10:26:41 +00:00
|
|
|
dram_coredump -> dram0_data
|
|
|
|
rtc_coredump -> rtc_data
|
|
|
|
rtc_fast_coredump -> rtc_force_fast
|
2021-02-09 10:09:09 +00:00
|
|
|
if IDF_TARGET_ESP32S2 = n:
|
2021-02-09 10:26:41 +00:00
|
|
|
iram_coredump -> iram0_data
|
2021-02-09 10:09:09 +00:00
|
|
|
|
|
|
|
[mapping:coredump_default]
|
|
|
|
archive: *
|
|
|
|
entries:
|
2021-02-09 10:26:41 +00:00
|
|
|
* (coredump_default);
|
2021-02-16 05:44:18 +00:00
|
|
|
rtc_fast_coredump -> rtc_force_fast SURROUND(coredump_rtc_fast),
|
|
|
|
rtc_coredump -> rtc_data SURROUND(coredump_rtc),
|
|
|
|
dram_coredump -> dram0_data SURROUND(coredump_dram)
|
2021-02-09 10:26:41 +00:00
|
|
|
if IDF_TARGET_ESP32S2 = n:
|
|
|
|
* (coredump_default);
|
2021-02-16 05:44:18 +00:00
|
|
|
iram_coredump -> iram0_data SURROUND(coredump_iram)
|
2021-02-09 10:09:09 +00:00
|
|
|
|
2019-03-19 06:19:39 +00:00
|
|
|
[mapping:espcoredump]
|
2019-01-29 14:49:56 +00:00
|
|
|
archive: libespcoredump.a
|
2019-09-16 00:56:48 +00:00
|
|
|
entries:
|
|
|
|
if ESP_PANIC_HANDLER_IRAM = y:
|
2019-09-06 07:37:55 +00:00
|
|
|
core_dump_uart (noflash_text)
|
|
|
|
core_dump_flash (noflash_text)
|
|
|
|
core_dump_common (noflash_text)
|
|
|
|
core_dump_port (noflash_text)
|
2019-11-22 05:25:43 +00:00
|
|
|
core_dump_elf (noflash_text)
|
2019-09-06 07:37:55 +00:00
|
|
|
else:
|
|
|
|
* (default)
|
2019-09-11 18:23:44 +00:00
|
|
|
|
|
|
|
[mapping:spi_flash_override]
|
|
|
|
archive: libspi_flash.a
|
|
|
|
entries:
|
2020-09-29 15:27:28 +00:00
|
|
|
if ESP_PANIC_HANDLER_IRAM = y && ESP_COREDUMP_ENABLE_TO_FLASH = y:
|
2019-09-11 18:23:44 +00:00
|
|
|
esp_flash_api (noflash_text)
|
|
|
|
esp_flash_spi_init (noflash_text)
|
|
|
|
else:
|
|
|
|
* (default)
|
2019-11-22 05:25:43 +00:00
|
|
|
|
2020-12-17 11:00:02 +00:00
|
|
|
[mapping:sha256_coredump]
|
|
|
|
archive: libmbedcrypto.a
|
2019-11-22 05:25:43 +00:00
|
|
|
entries:
|
2020-09-29 15:27:28 +00:00
|
|
|
if ESP_COREDUMP_CHECKSUM_SHA256 = y :
|
2019-11-22 05:25:43 +00:00
|
|
|
if MBEDTLS_HARDWARE_SHA = n:
|
|
|
|
sha256 (noflash_text)
|
|
|
|
else:
|
|
|
|
esp_sha256 (noflash_text)
|