9d30b04f68
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.
19 lines
526 B
Text
19 lines
526 B
Text
[mapping:espcoredump]
|
|
archive: libespcoredump.a
|
|
entries:
|
|
if ESP32_PANIC_HANDLER_IRAM = y:
|
|
core_dump_uart (noflash_text)
|
|
core_dump_flash (noflash_text)
|
|
core_dump_common (noflash_text)
|
|
core_dump_port (noflash_text)
|
|
else:
|
|
* (default)
|
|
|
|
[mapping:spi_flash_override]
|
|
archive: libspi_flash.a
|
|
entries:
|
|
if ESP32_PANIC_HANDLER_IRAM = y && ESP32_ENABLE_COREDUMP_TO_FLASH = y:
|
|
esp_flash_api (noflash_text)
|
|
esp_flash_spi_init (noflash_text)
|
|
else:
|
|
* (default)
|