blob: 5d371922e02d352fcc2dcfdc9770c6069bccabec [file] [log] [blame]
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +03001# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
2#
3# SPDX-License-Identifier: Apache-2.0
4
5list(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
11list(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
16set_source_files_properties(
17 ${esp_idf_dir}/components/bootloader_support/src/flash_qio_mode.c
18 PROPERTIES COMPILE_FLAGS
19 "-Wno-unused-variable")