move cmake folder to tools/
This commit is contained in:
12
tools/cmake/cpu/cortex-m7.cmake
Normal file
12
tools/cmake/cpu/cortex-m7.cmake
Normal 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 ()
|
Reference in New Issue
Block a user