fix bootloader build with rom flash driver

Closes https://github.com/espressif/esp-idf/pull/7508
Closes https://github.com/espressif/esp-idf/issues/6849
This commit is contained in:
boarchuz 2021-09-02 05:12:49 +10:00 committed by bot
parent 98d34e5f6d
commit 22fad5110c

View File

@ -25,6 +25,9 @@ rom_linker_script("libgcc")
if(BOOTLOADER_BUILD)
if(target STREQUAL "esp32")
rom_linker_script("newlib-funcs")
if(NOT CONFIG_SPI_FLASH_ROM_DRIVER_PATCH)
rom_linker_script("spiflash")
endif()
if(CONFIG_ESP32_REV_MIN_3)
rom_linker_script("eco3")
endif()