Merge pull request #9625 from kfnta/tools_arm_fix

Fix cortex-m33 armlink error
pull/9636/head
Martin Kojtal 2019-02-07 09:24:42 +01:00 committed by GitHub
commit 09db995c73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ class ARMC6(ARM_STD):
self.flags['common'].append("-mfloat-abi=hard")
self.flags['ld'].append("--cpu=cortex-m33.no_dsp")
elif core == "Cortex-M33":
self.flags['common'].append("-mfpu=none")
self.flags['ld'].append("--cpu=cortex-m33.no_dsp.no_fp")
else:
self.flags['ld'].append("--cpu=%s" % cpu)