Skip to content

Commit 09db995

Browse files
authored
Merge pull request #9625 from kfnta/tools_arm_fix
Fix cortex-m33 armlink error
2 parents 9bda449 + 965410b commit 09db995

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)