8000 change gcc tool to use hard fpu · sparkfun/mbed-os-ambiq-apollo3@8a3f8c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a3f8c9

Browse files
committed
change gcc tool to use hard fpu
1 parent 4e0e283 commit 8a3f8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __init__(self, target, notify=None, macros=None, build_profile=None,
123123
# FPU handling, M7 possibly to have double FPU
124124
if core == "Cortex-M4F":
125125
self.cpu.append("-mfpu=fpv4-sp-d16")
126-
self.cpu.append("-mfloat-abi=softfp")
126+
self.cpu.append("-mfloat-abi=hard")
127127
elif core == "Cortex-M7F" or core.startswith("Cortex-M33F"):
128128
self.cpu.append("-mfpu=fpv5-sp-d16")
129129
self.cpu.append("-mfloat-abi=softfp")

0 commit comments

Comments
 (0)
0