esp_rom: update CMakeList.txt
@@ -265,6 +265,10 @@ else() # Regular app build
rom_linker_script("net80211")
rom_linker_script("pp")
+ if(CONFIG_SPI_FLASH_ROM_IMPL)
+ rom_linker_script("spiflash")
+ endif()
+
if(time_t_size EQUAL 8)
# The ROM functions listed in this linker script depend on sizeof(time_t).
# Since ROM for ESP32-H2 was compiled for 64-bit time_t, only link these functions
