Skip to content

Commit 5f2991d

Browse files
author
Alexander Zilberkant
authored
Handle Cortex-M33E no-fpu flags
Add compilation "-mfpu=none" flag for Cortex-M33E.
1 parent f58e600 commit 5f2991d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def __init__(self, target, *args, **kwargs):
554554
self.SHEBANG += " -mcpu=%s" % cpu
555555

556556
# FPU handling
557-
if core == "Cortex-M4" or core == "Cortex-M7" or core == "Cortex-M33":
557+
if core in ["Cortex-M4", "Cortex-M7", "Cortex-M33", "Cortex-M33E"]:
558558
self.flags['common'].append("-mfpu=none")
559559
elif core == "Cortex-M4F":
560560
self.flags['common'].append("-mfpu=fpv4-sp-d16")

0 commit comments

Comments
 (0)