]> granicus.if.org Git - esp-idf/commit
coredump: use esp_flash api in coredump
authorMichael (XIAO Xufeng) <xiaoxufeng@espressif.com>
Wed, 11 Sep 2019 18:23:44 +0000 (02:23 +0800)
committerMichael (XIAO Xufeng) <xiaoxufeng@espressif.com>
Sat, 14 Sep 2019 09:02:08 +0000 (17:02 +0800)
commit9d30b04f6804eae6e73838e33f5b6a3f91ae59ad
treebdaf5062d42ee77ac58270325d92c9e64a92fc06
parent511820820e0aafbbfcb780589dbe06614d73ac15
coredump: use esp_flash api in coredump

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.
components/espcoredump/linker.lf
components/espcoredump/src/core_dump_flash.c