Skip to content

Commit

Permalink
Adding arch option instead MCPU for no dsp and no fpu support
Browse files Browse the repository at this point in the history
No FPU option is valid, but supported only for 8.x releases, with 7.x release
+nofp gives build errors.
  • Loading branch information
Deepika committed Nov 13, 2018
1 parent 0404701 commit a6ed5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/toolchains/gcc.py
Expand Up @@ -63,7 +63,7 @@ def __init__(self, target, notify=None, macros=None, build_profile=None,
elif target.core.startswith("Cortex-M33F"):
self.cpu = ["-mcpu=cortex-m33+nodsp"]
elif target.core.startswith("Cortex-M33"):
self.cpu = ["-mcpu=cortex-m33+nodsp+nofp"]
self.cpu = ["-march=armv8-m.main"]
else:
self.cpu = ["-mcpu={}".format(target.core.lower())]

Expand Down

0 comments on commit a6ed5fc

Please sign in to comment.