Almir Okato | 42e679d | 2022-01-18 00:16:58 -0300 | [diff] [blame^] | 1 | # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
Almir Okato | 712fdb5 | 2021-08-06 10:22:56 -0300 | [diff] [blame] | 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 |
Almir Okato | 42e679d | 2022-01-18 00:16:58 -0300 | [diff] [blame^] | 8 | ${esp_idf_dir}/components/efuse/src/esp_efuse_api_key_esp32xx.c |
Almir Okato | 712fdb5 | 2021-08-06 10:22:56 -0300 | [diff] [blame] | 9 | ) |
| 10 | |
| 11 | list(APPEND LINKER_SCRIPTS |
| 12 | -T${esp_idf_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.newlib.ld |
Almir Okato | 42e679d | 2022-01-18 00:16:58 -0300 | [diff] [blame^] | 13 | -T${esp_idf_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.eco3.ld |
Almir Okato | 712fdb5 | 2021-08-06 10:22:56 -0300 | [diff] [blame] | 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") |