summaryrefslogtreecommitdiff
path: root/hw/bsp/imxrt
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-02 13:27:18 +0700
committerhathach <[email protected]>2023-06-02 13:27:18 +0700
commitfcf77914546496d88d5915223095d93bb63c67fe (patch)
tree2169b5f5378afb1b3286d92b978ff563bbe0d70b /hw/bsp/imxrt
parente7090c75148820ff3a4ad60c718684c46c954c18 (diff)
add IAR support for G0 with cmake
Diffstat (limited to 'hw/bsp/imxrt')
-rw-r--r--hw/bsp/imxrt/family.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/imxrt/family.cmake b/hw/bsp/imxrt/family.cmake
index 3c156285c..b5d47614e 100644
--- a/hw/bsp/imxrt/family.cmake
+++ b/hw/bsp/imxrt/family.cmake
@@ -53,7 +53,7 @@ if (NOT TARGET ${BOARD_TARGET})
update_board(${BOARD_TARGET})
if (NOT DEFINED LD_FILE_${TOOLCHAIN})
- set(LD_FILE_gcc ${SDK_DIR}/devices/${MCU_VARIANT}/gcc/${MCU_VARIANT}xxxxx_flexspi_nor.ld)
+ set(LD_FILE_GCC ${SDK_DIR}/devices/${MCU_VARIANT}/gcc/${MCU_VARIANT}xxxxx_flexspi_nor.ld)
endif ()
if (TOOLCHAIN STREQUAL "gcc")
@@ -61,7 +61,7 @@ if (NOT TARGET ${BOARD_TARGET})
${SDK_DIR}/devices/${MCU_VARIANT}/gcc/startup_${MCU_VARIANT}.S
)
target_link_options(${BOARD_TARGET} PUBLIC
- "LINKER:--script=${LD_FILE_gcc}"
+ "LINKER:--script=${LD_FILE_GCC}"
# nanolib
--specs=nosys.specs
--specs=nano.specs