2023-05-19 11:02:26 +02:00
|
|
|
ifeq ($(TOOLCHAIN),gcc)
|
|
|
|
CFLAGS += \
|
|
|
|
-mthumb \
|
|
|
|
-mcpu=cortex-m4 \
|
|
|
|
-mfloat-abi=hard \
|
|
|
|
-mfpu=fpv4-sp-d16 \
|
|
|
|
|
|
|
|
#set(FREERTOS_PORT GCC_ARM_CM4F CACHE INTERNAL "")
|
2023-05-19 13:04:08 +02:00
|
|
|
FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/ARM_CM4F
|
2023-05-19 11:02:26 +02:00
|
|
|
else ifeq ($(TOOLCHAIN),iar)
|
|
|
|
# TODO support IAR
|
|
|
|
endif
|