mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
fix(esp_rom): cleanup esp_rom CMakeList.txt
This commit is contained in:
parent
b5762b732b
commit
1f2100fc4d
@ -17,9 +17,6 @@ if(target STREQUAL "linux")
|
||||
"${target}/esp_rom_md5.c"
|
||||
"${target}/esp_rom_efuse.c")
|
||||
else()
|
||||
if(CONFIG_IDF_TARGET_ESP32C5)
|
||||
list(APPEND include_dirs "include/${target_folder}/..")
|
||||
endif()
|
||||
list(APPEND sources "patches/esp_rom_crc.c"
|
||||
"patches/esp_rom_uart.c"
|
||||
"patches/esp_rom_spiflash.c"
|
||||
@ -129,10 +126,6 @@ if(BOOTLOADER_BUILD)
|
||||
|
||||
elseif(target STREQUAL "esp32s2")
|
||||
rom_linker_script("spiflash_legacy")
|
||||
|
||||
elseif(target STREQUAL "esp32c6")
|
||||
# The linking of the bootloader needs to use the rom_i2c_writeReg_Mask in esp32c6.rom.phy.ld
|
||||
rom_linker_script("phy")
|
||||
endif()
|
||||
|
||||
if(CONFIG_ESP_ROM_HAS_NEWLIB)
|
||||
|
Loading…
Reference in New Issue
Block a user