From 1f2100fc4dbb7192ac005918d943d20f3b2ed1dc Mon Sep 17 00:00:00 2001 From: Jiang Guang Ming Date: Thu, 27 Jun 2024 11:39:51 +0800 Subject: [PATCH] fix(esp_rom): cleanup esp_rom CMakeList.txt --- components/esp_rom/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/esp_rom/CMakeLists.txt b/components/esp_rom/CMakeLists.txt index 9a97104f9a..b592f5866e 100644 --- a/components/esp_rom/CMakeLists.txt +++ b/components/esp_rom/CMakeLists.txt @@ -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)