Skip to content

Commit

Permalink
added cortex-m23.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
maidnl authored and facchinm committed Oct 2, 2023
1 parent 97f5277 commit bdc1744
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tools/make/cpu/cortex-m23.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ifeq ($(TOOLCHAIN),gcc)
CFLAGS += \
-mthumb \
-mcpu=cortex-m23

else ifeq ($(TOOLCHAIN),iar)
CFLAGS += --cpu cortex-m23 --fpu VFPv4
ASFLAGS += --cpu cortex-m23 --fpu VFPv4
endif

FREERTOS_PORTABLE_SRC ?= $(FREERTOS_PORTABLE_PATH)/ARM_CM4F

0 comments on commit bdc1744

Please sign in to comment.