summaryrefslogtreecommitdiff
path: root/chip/lm4/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/build.mk')
-rw-r--r--chip/lm4/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/chip/lm4/build.mk b/chip/lm4/build.mk
index f6472aae92..279f15c65d 100644
--- a/chip/lm4/build.mk
+++ b/chip/lm4/build.mk
@@ -6,8 +6,10 @@
# LM4 chip specific files build
#
-# LM4 SoC has a Cortex-M4 ARM core
+# LM4 SoC has a Cortex-M4F ARM core
CORE:=cortex-m
+# Allow the full Cortex-M4 instruction set
+CFLAGS_CPU+=-march=armv7e-m -mcpu=cortex-m4
# Required chip modules
chip-y=clock.o gpio.o hwtimer.o jtag.o system.o uart.o