Roman Okhrimenko | dc0ca08 | 2023-06-21 20:49:51 +0300 | [diff] [blame^] | 1 | # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | list(APPEND hal_srcs |
| 6 | ${esp_idf_dir}/components/bootloader_support/src/flash_qio_mode.c |
| 7 | ${esp_idf_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/cpu_util_esp32c3.c |
| 8 | ${esp_idf_dir}/components/efuse/src/esp_efuse_api_key_esp32xx.c |
| 9 | ) |
| 10 | |
| 11 | list(APPEND LINKER_SCRIPTS |
| 12 | -T${esp_idf_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.newlib.ld |
| 13 | -T${esp_idf_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.eco3.ld |
| 14 | ) |
| 15 | |
| 16 | set_source_files_properties( |
| 17 | ${esp_idf_dir}/components/bootloader_support/src/flash_qio_mode.c |
| 18 | PROPERTIES COMPILE_FLAGS |
| 19 | "-Wno-unused-variable") |