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-m4
-mfloat-abi=hard
-mfpu=fpv4-sp-d16
)
set(FREERTOS_PORT GCC_ARM_CM4F CACHE INTERNAL "")
else ()
# TODO support IAR
endif ()