update all device cmake example for imx

This commit is contained in:
hathach
2023-05-07 22:09:08 +07:00
parent f15f79df5d
commit 6945c594d5
16 changed files with 81 additions and 67 deletions

View File

@@ -1,6 +1,12 @@
set(TOOLCHAIN_COMMON_FLAGS
-mthumb
-mcpu=cortex-m7
-mfloat-abi=hard
-mfpu=fpv5-d16
)
if (TOOLCHAIN STREQUAL "gcc")
set(TOOLCHAIN_COMMON_FLAGS
-mthumb
-mcpu=cortex-m7
-mfloat-abi=hard
-mfpu=fpv5-d16
)
set(FREERTOS_PORT GCC_ARM_CM7 CACHE INTERNAL "")
else ()
# TODO support IAR
endif ()