mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
IRAM_ATTR expands to a unique section attribute. Applying it to both declaration and definition results in a section conflict.
See the spi_flash.rst in the programming guide folder for more details. The docs above is for the new SPI Flash API above 4.0, for legacy implementation (CONFIG_SPI_FLASH_USE_LEGACY_IMPL enabled), read README_legayc.rst in the same folder with this readme.