diff --git a/tools/toolchains/gcc.py b/tools/toolchains/gcc.py index 95e55747c2..b8adde954b 100644 --- a/tools/toolchains/gcc.py +++ b/tools/toolchains/gcc.py @@ -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())]