Fix cortex-m33-S armlink error

Add "-mfpu=none" compilation flag
pull/9646/head
Michael Schwarcz 2019-02-06 10:28:28 +02:00 committed by adbridge
parent f869e9a144
commit 0f15c7ffe5
1 changed files with 1 additions and 0 deletions

View File

@ -438,6 +438,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)