esp_rom: update CMakeList.txt

This commit is contained in:
jiangguangming
2022-12-01 20:27:51 +08:00
parent 9e3ba8d061
commit f9b6e25b55

View File

@@ -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