Merge pull request #6030 from deepikabhavnani/correct_arch

M33: -march not required if -mcpu is set
pull/6042/head
Cruz Monrreal 2018-02-07 20:07:11 -06:00 committed by GitHub
commit 02eeb7af41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -86,11 +86,6 @@ class GCC(mbedToolchain):
self.cpu.append("-mfloat-abi=hard") self.cpu.append("-mfloat-abi=hard")
self.cpu.append("-mno-unaligned-access") self.cpu.append("-mno-unaligned-access")
if target.core.startswith("Cortex-M23"):
self.cpu.append("-march=armv8-m.base")
elif target.core.startswith("Cortex-M33"):
self.cpu.append("-march=armv8-m.main")
if target.core == "Cortex-M23" or target.core == "Cortex-M33": if target.core == "Cortex-M23" or target.core == "Cortex-M33":
self.cpu.append("-mcmse") self.cpu.append("-mcmse")