Update tools/toolchains/gcc.py

pull/8775/head
Deepika Bhavnani 2018-11-05 17:27:27 +01:00 committed by adbridge
parent c39448fa97
commit 728e23b821
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())]