mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
0404701b5f
commit
a6ed5fcbd0
|
@ -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())]
|
||||
|
||||
|
|
Loading…
Reference in New Issue