]> granicus.if.org Git - esp-idf/commit
esp_flash: fix the coredump issue
authorMichael (XIAO Xufeng) <xiaoxufeng@espressif.com>
Wed, 11 Sep 2019 18:41:00 +0000 (02:41 +0800)
committerMichael (XIAO Xufeng) <xiaoxufeng@espressif.com>
Sat, 14 Sep 2019 09:01:36 +0000 (17:01 +0800)
commit511820820e0aafbbfcb780589dbe06614d73ac15
tree82ff35e2a39c76062234a0c85e4dfa8394384fa3
parent6139864a4c9b5cd4b8c2c0d7da12886516d06316
esp_flash: fix the coredump issue

During coredump, dangerous-area-checking should be disabled, and cache
disabling should be replaced by a safer version.

Dangerous-area-checking used to be in the HAL, but it seems to be more
fit to os functions. So it's moved to os functions. Interfaces are
provided to switch between os functions during coredump.
components/espcoredump/src/core_dump_flash.c
components/soc/include/hal/spi_flash_types.h
components/spi_flash/esp_flash_api.c
components/spi_flash/esp_flash_spi_init.c
components/spi_flash/include/esp_flash.h
components/spi_flash/include/esp_flash_internal.h
components/spi_flash/include/memspi_host_driver.h
components/spi_flash/memspi_host_driver.c
components/spi_flash/spi_flash_os_func_app.c
components/spi_flash/spi_flash_os_func_noos.c