Skip to content

Commit 32b05cc

Browse files
committed
[DISCO_F407VG]: Change default FPU option to "softfp" from "hard".
This commit changes the defalt compile option in relation to FPU from "hard" to "softfp" in Makefile template, because it would be better to maintain the consistency with "build.py" and "make.py" that have the default option, "softfp". If the "hard" option is needed, execute "make HARDFP=1" on command line.
1 parent 6e9935f commit 32b05cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workspace_tools/export/gcc_arm_disco_f407vg.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ LD_FLAGS = $(CPU) -Wl,--gc-sections --specs=nano.specs -u _printf_float -u _scan
2828
LD_FLAGS += -Wl,-Map=$(PROJECT).map,--cref
2929
LD_SYS_LIBS = -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
3030

31-
ifeq ($(SOFTFP),1)
32-
FLOAT_ABI = softfp
33-
else
31+
ifeq ($(HARDFP),1)
3432
FLOAT_ABI = hard
33+
else
34+
FLOAT_ABI = softfp
3535
endif
3636

3737
ifeq ($(DEBUG), 1)

0 commit comments

Comments
 (0)