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:
|
2021-12-29 02:40:22 +00:00
|
|
|
.dram2.coredump+
|
2021-02-09 10:09:09 +00:00
|
|
|
|
2021-12-29 02:40:22 +00:00
|
|
|
# Always include .iram2.coredump section in the final linker script file,
|
|
|
|
# even though it may be empty. The coredump component will ignore empty
|
|
|
|
# sections when generating the ELF dump.
|
|
|
|
[sections:iram_coredump]
|
|
|
|
entries:
|
|
|
|
.iram2.coredump+
|
2021-02-09 10:09:09 +00:00
|
|
|
|
|
|
|
[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-12-29 02:40:22 +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),
|
2021-12-29 02:40:22 +00:00
|
|
|
dram_coredump -> dram0_data SURROUND(coredump_dram),
|
|
|
|
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)
|