mirror of https://github.com/ARMmbed/mbed-os.git
Update tools/toolchains/gcc.py
parent
1ea28973b2
commit
ba86a53871
|
@ -61,10 +61,8 @@ class GCC(mbedToolchain):
|
||||||
elif target.core.startswith("Cortex-M23"):
|
elif target.core.startswith("Cortex-M23"):
|
||||||
self.cpu = ["-mcpu=cortex-m23"]
|
self.cpu = ["-mcpu=cortex-m23"]
|
||||||
elif target.core.startswith("Cortex-M33F"):
|
elif target.core.startswith("Cortex-M33F"):
|
||||||
self.cpu = ["-mcpu=cortex-m33"]
|
|
||||||
self.cpu = ["-mcpu=cortex-m33+nodsp"]
|
self.cpu = ["-mcpu=cortex-m33+nodsp"]
|
||||||
elif target.core.startswith("Cortex-M33"):
|
elif target.core.startswith("Cortex-M33"):
|
||||||
self.cpu = ["-mcpu=cortex-m33"]
|
|
||||||
self.cpu = ["-mcpu=cortex-m33+nodsp+nofp"]
|
self.cpu = ["-mcpu=cortex-m33+nodsp+nofp"]
|
||||||
else:
|
else:
|
||||||
self.cpu = ["-mcpu={}".format(target.core.lower())]
|
self.cpu = ["-mcpu={}".format(target.core.lower())]
|
||||||
|
|
Loading…
Reference in New Issue