Skip to content

Commit f82dae2

Browse files
Deepikaadbridge
authored andcommitted
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 c9c7370 commit f82dae2

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)