Michael (XIAO Xufeng) e4b44f3488 esp_flash: fix coredump for legacy spi flash API
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.
2019-09-18 14:28:12 +08:00
..
2019-06-26 10:19:23 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-09-16 11:18:04 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00