mirror of https://github.com/ARMmbed/mbed-os.git
workspace_tools/toolchains/gcc.py: Use 'cortex-m0plus' support for Cortex M0+
This support is supported by: - gcc-arm-none-eabi-4_7-2013q1 - gcc-arm-none-eabi-4_9-2014q4pull/822/head
parent
2f63fa7d78
commit
76efcd382c
|
@ -34,7 +34,7 @@ class GCC(mbedToolchain):
|
||||||
mbedToolchain.__init__(self, target, options, notify, macros, silent)
|
mbedToolchain.__init__(self, target, options, notify, macros, silent)
|
||||||
|
|
||||||
if target.core == "Cortex-M0+":
|
if target.core == "Cortex-M0+":
|
||||||
cpu = "cortex-m0"
|
cpu = "cortex-m0plus"
|
||||||
elif target.core == "Cortex-M4F":
|
elif target.core == "Cortex-M4F":
|
||||||
cpu = "cortex-m4"
|
cpu = "cortex-m4"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue