esp-idf/components/espcoredump/linker.lf

66 lines
1.6 KiB
Plaintext
Raw Normal View History

[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:
dram_coredump -> dram0_data
rtc_coredump -> rtc_data
rtc_fast_coredump -> rtc_force_fast
if IDF_TARGET_ESP32S2 = n:
iram_coredump -> iram0_data
[mapping:coredump_default]
archive: *
entries:
* (coredump_default);
rtc_fast_coredump -> rtc_force_fast SURROUND(coredump_rtc_fast),
rtc_coredump -> rtc_data SURROUND(coredump_rtc),
dram_coredump -> dram0_data SURROUND(coredump_dram)
if IDF_TARGET_ESP32S2 = n:
* (coredump_default);
iram_coredump -> iram0_data SURROUND(coredump_iram)
[mapping:espcoredump]
archive: libespcoredump.a
entries:
if ESP_PANIC_HANDLER_IRAM = y:
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)
else:
* (default)
[mapping:spi_flash_override]
archive: libspi_flash.a
entries:
if ESP_PANIC_HANDLER_IRAM = y && ESP_COREDUMP_ENABLE_TO_FLASH = y:
esp_flash_api (noflash_text)
esp_flash_spi_init (noflash_text)
else:
* (default)
2019-11-22 00:25:43 -05:00
[mapping:sha256_coredump]
archive: libmbedcrypto.a
2019-11-22 00:25:43 -05:00
entries:
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)