Skip to content

Commit f58e600

Browse files
author
Oren Cohen
committed
Fix armclang fpu detection
1 parent ba429a8 commit f58e600

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 == "Cortex-M4" or core == "Cortex-M7" or core == "Cortex-M33":
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)