Update tools/toolchains/gcc.py

pull/8449/head
Deepika Bhavnani 2018-11-05 17:27:27 +01:00 committed by jeromecoutant
parent 1ea28973b2
commit ba86a53871
1 changed files with 0 additions and 2 deletions

View File

@ -61,10 +61,8 @@ class GCC(mbedToolchain):
elif target.core.startswith("Cortex-M23"):
self.cpu = ["-mcpu=cortex-m23"]
elif target.core.startswith("Cortex-M33F"):
self.cpu = ["-mcpu=cortex-m33"]
self.cpu = ["-mcpu=cortex-m33+nodsp"]
elif target.core.startswith("Cortex-M33"):
self.cpu = ["-mcpu=cortex-m33"]
self.cpu = ["-mcpu=cortex-m33+nodsp+nofp"]
else:
self.cpu = ["-mcpu={}".format(target.core.lower())]