move cmake folder to tools/

This commit is contained in:
hathach
2023-05-19 14:46:39 +07:00
parent 6ecd480006
commit e8dd200fed
9 changed files with 12 additions and 73 deletions

View File

@@ -0,0 +1,12 @@
if (TOOLCHAIN STREQUAL "gcc")
list(APPEND 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 ()