Skip to content

Commit 965410b

Browse files
author
Michael Schwarcz
authored
Fix cortex-m33-S armlink error
Add "-mfpu=none" compilation flag
1 parent 57d8915 commit 965410b

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
@@ -430,6 +430,7 @@ def __init__(self, target, *args, **kwargs):
430430
self.flags['common'].append("-mfloat-abi=hard")
431431
self.flags['ld'].append("--cpu=cortex-m33.no_dsp")
432432
elif core == "Cortex-M33":
433+
self.flags['common'].append("-mfpu=none")
433434
self.flags['ld'].append("--cpu=cortex-m33.no_dsp.no_fp")
434435
else:
435436
self.flags['ld'].append("--cpu=%s" % cpu)

0 commit comments

Comments
 (0)