able to build lpc55

This commit is contained in:
hathach
2023-05-10 18:15:48 +07:00
parent f1bef8d8dd
commit 2c745d1b1e
6 changed files with 210 additions and 0 deletions

View 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 ()