We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0871b9 + aeb5172 commit 2481a90Copy full SHA for 2481a90
Makefile
@@ -140,10 +140,10 @@ ifeq ("$(PROGRAM_VERSION)","")
140
PROGRAM_VERSION:='unknown'
141
endif
142
143
-FLAGS_CM4:=-mcpu=cortex-m4 -march=armv7e-m -mthumb
+FLAGS_CORE:=-mcpu=cortex-m3 -march=armv7-m -mthumb
144
145
LDFLAGS:=\
146
- $(FLAGS_CM4) \
+ $(FLAGS_CORE) \
147
-T$(CONFIGURATION_PREFIX).linker \
148
-nostartfiles \
149
-nostdlib \
@@ -166,7 +166,7 @@ CFLAGS_PRE:=\
166
-ffunction-sections \
167
-fdata-sections
168
169
-CFLAGS:=$(FLAGS_CM4) $(CFLAGS_PRE)
+CFLAGS:=$(FLAGS_CORE) $(CFLAGS_PRE)
170
CPPFLAGS:=
171
CXXFLAGS:=-fno-exceptions
172
0 commit comments