update all stm32 to use new enhance make
This commit is contained in:
17
tools/make/cpu/cortex-m3.mk
Normal file
17
tools/make/cpu/cortex-m3.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
ifeq ($(TOOLCHAIN),gcc)
|
||||
CFLAGS += \
|
||||
-mthumb \
|
||||
-mcpu=cortex-m3 \
|
||||
-mfloat-abi=soft \
|
||||
|
||||
else ifeq ($(TOOLCHAIN),iar)
|
||||
# IAR Flags
|
||||
CFLAGS += \
|
||||
--cpu cortex-m3 \
|
||||
|
||||
ASFLAGS += \
|
||||
--cpu cortex-m3
|
||||
endif
|
||||
|
||||
# For freeRTOS port source
|
||||
FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/ARM_CM3
|
||||
Reference in New Issue
Block a user