Handle Cortex-M33E no-fpu flags

Add compilation "-mfpu=none" flag for Cortex-M33E.
pull/10513/head
Alexander Zilberkant 2019-04-30 14:48:38 +03:00 committed by GitHub
parent f58e600d6e
commit 5f2991dcc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ class ARMC6(ARM_STD):
self.SHEBANG += " -mcpu=%s" % cpu
# FPU handling
if core == "Cortex-M4" or core == "Cortex-M7" or core == "Cortex-M33":
if core in ["Cortex-M4", "Cortex-M7", "Cortex-M33", "Cortex-M33E"]:
self.flags['common'].append("-mfpu=none")
elif core == "Cortex-M4F":
self.flags['common'].append("-mfpu=fpv4-sp-d16")