mirror of https://github.com/ARMmbed/mbed-os.git
Handle Cortex-M33E no-fpu flags
Add compilation "-mfpu=none" flag for Cortex-M33E.pull/10513/head
parent
f58e600d6e
commit
5f2991dcc7
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue