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