summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32f4/config/stm32f4.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32f4/config/stm32f4.cfg')
-rw-r--r--bsps/arm/stm32f4/config/stm32f4.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/arm/stm32f4/config/stm32f4.cfg b/bsps/arm/stm32f4/config/stm32f4.cfg
index edca4bfa32..3a6982b23c 100644
--- a/bsps/arm/stm32f4/config/stm32f4.cfg
+++ b/bsps/arm/stm32f4/config/stm32f4.cfg
@@ -2,7 +2,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = arm
-CPU_CFLAGS = -march=armv7-m -mthumb
+CPU_CFLAGS = -mthumb -mcpu=cortex-m4
CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections