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.
pull/8729/head
Deepika 2018-11-13 08:21:26 -06:00
parent 0404701b5f
commit a6ed5fcbd0
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class GCC(mbedToolchain):
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())]