adding nrf

This commit is contained in:
hathach
2023-05-15 14:25:42 +07:00
parent a57ba87859
commit 9fd0fee458
6 changed files with 203 additions and 5 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 ()