Skip to content

Commit 0f15c7f

Browse files
Michael Schwarczadbridge
authored andcommitted
Fix cortex-m33-S armlink error
Add "-mfpu=none" compilation flag
1 parent f869e9a commit 0f15c7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/toolchains/arm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ def __init__(self, target, *args, **kwargs):
438438
self.flags['common'].append("-mfloat-abi=hard")
439439
self.flags['ld'].append("--cpu=cortex-m33.no_dsp")
440440
elif core == "Cortex-M33":
441+
self.flags['common'].append("-mfpu=none")
441442
self.flags['ld'].append("--cpu=cortex-m33.no_dsp.no_fp")
442443
else:
443444
self.flags['ld'].append("--cpu=%s" % cpu)

0 commit comments

Comments
 (0)