mirror of https://github.com/ARMmbed/mbed-os.git
targets: add version 6 to the toolchain
parent
3847373660
commit
5a9ad74818
|
@ -385,7 +385,7 @@ def transform_release_toolchains(target, version):
|
||||||
RELEASE_VERSIONS
|
RELEASE_VERSIONS
|
||||||
"""
|
"""
|
||||||
if int(target.build_tools_metadata["version"]) > 0:
|
if int(target.build_tools_metadata["version"]) > 0:
|
||||||
if version == '5':
|
if version in ['5', '6']:
|
||||||
toolchains = copy(target.supported_toolchains)
|
toolchains = copy(target.supported_toolchains)
|
||||||
|
|
||||||
if "ARM" in toolchains:
|
if "ARM" in toolchains:
|
||||||
|
@ -395,7 +395,7 @@ def transform_release_toolchains(target, version):
|
||||||
return toolchains
|
return toolchains
|
||||||
return target.supported_toolchains
|
return target.supported_toolchains
|
||||||
else:
|
else:
|
||||||
if version == '5':
|
if version in ['5', '6']:
|
||||||
return ['ARM', 'GCC_ARM', 'IAR']
|
return ['ARM', 'GCC_ARM', 'IAR']
|
||||||
else:
|
else:
|
||||||
return target.supported_toolchains
|
return target.supported_toolchains
|
||||||
|
|
Loading…
Reference in New Issue