targets: add version 6 to the toolchain

pull/12995/head
Martin Kojtal 2020-05-19 11:14:18 +01:00
parent 3847373660
commit 5a9ad74818
1 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ def transform_release_toolchains(target, version):
RELEASE_VERSIONS
"""
if int(target.build_tools_metadata["version"]) > 0:
if version == '5':
if version in ['5', '6']:
toolchains = copy(target.supported_toolchains)
if "ARM" in toolchains:
@ -395,7 +395,7 @@ def transform_release_toolchains(target, version):
return toolchains
return target.supported_toolchains
else:
if version == '5':
if version in ['5', '6']:
return ['ARM', 'GCC_ARM', 'IAR']
else:
return target.supported_toolchains