able to build lpc55
This commit is contained in:
12
examples/cmake/cpu/cortex-m33.cmake
Normal file
12
examples/cmake/cpu/cortex-m33.cmake
Normal file
@@ -0,0 +1,12 @@
|
||||
if (TOOLCHAIN STREQUAL "gcc")
|
||||
list(APPEND TOOLCHAIN_COMMON_FLAGS
|
||||
-mthumb
|
||||
-mcpu=cortex-m33
|
||||
-mfloat-abi=hard
|
||||
-mfpu=fpv5-d16
|
||||
)
|
||||
|
||||
set(FREERTOS_PORT GCC_ARM_CM33_NONSECURE CACHE INTERNAL "")
|
||||
else ()
|
||||
# TODO support IAR
|
||||
endif ()
|
Reference in New Issue
Block a user