Skip to content

Commit a6ed5fc

Browse files
author
Deepika
committed
Adding arch option instead MCPU for no dsp and no fpu support
No FPU option is valid, but supported only for 8.x releases, with 7.x release +nofp gives build errors.
1 parent 0404701 commit a6ed5fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, target, notify=None, macros=None, build_profile=None,
6363
elif target.core.startswith("Cortex-M33F"):
6464
self.cpu = ["-mcpu=cortex-m33+nodsp"]
6565
elif target.core.startswith("Cortex-M33"):
66-
self.cpu = ["-mcpu=cortex-m33+nodsp+nofp"]
66+
self.cpu = ["-march=armv8-m.main"]
6767
else:
6868
self.cpu = ["-mcpu={}".format(target.core.lower())]
6969

0 commit comments

Comments
 (0)