e4b44f3488
When legacy mode is used, the coredump still fails during linking because "esp_flash_init_default_chip", "esp_flash_app_init" and "esp_flash_default_chip " are not compiled and linked. Instead of using ``if`` macros in callers, these functions are protected by ``if`` macros in the header, and also not compiled in the sources. "esp_flash_default_chip" variable is compiled with safe default value. |
||
---|---|---|
.. | ||
esp_flash.h | ||
esp_flash_internal.h | ||
esp_flash_spi_init.h | ||
esp_partition.h | ||
esp_spi_flash.h | ||
memspi_host_driver.h | ||
spi_flash_chip_driver.h | ||
spi_flash_chip_generic.h | ||
spi_flash_chip_issi.h |