mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
399477cd10
Also put esp_flash functions into noflash region, when ESP32_PANIC_HANDLER_IRAM and coredump are enabled. The option disables the re-enabling of the CPU-cache when it's disabled during coredump. This requires all the coredump functions including the flash API to be in the D/IRAM.
16 lines
410 B
Plaintext
16 lines
410 B
Plaintext
[mapping:espcoredump]
|
|
archive: libespcoredump.a
|
|
entries:
|
|
core_dump_uart (noflash_text)
|
|
core_dump_flash (noflash_text)
|
|
core_dump_common (noflash_text)
|
|
core_dump_port (noflash_text)
|
|
|
|
[mapping:spi_flash_override]
|
|
archive: libspi_flash.a
|
|
entries:
|
|
if ESP32_ENABLE_COREDUMP_TO_FLASH = y:
|
|
esp_flash_api (noflash_text)
|
|
esp_flash_spi_init (noflash_text)
|
|
else:
|
|
* (default) |