Skip to content

Commit 5a9ad74

Browse files
committed
targets: add version 6 to the toolchain
1 parent 3847373 commit 5a9ad74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def transform_release_toolchains(target, version):
385385
RELEASE_VERSIONS
386386
"""
387387
if int(target.build_tools_metadata["version"]) > 0:
388-
if version == '5':
388+
if version in ['5', '6']:
389389
toolchains = copy(target.supported_toolchains)
390390

391391
if "ARM" in toolchains:
@@ -395,7 +395,7 @@ def transform_release_toolchains(target, version):
395395
return toolchains
396396
return target.supported_toolchains
397397
else:
398-
if version == '5':
398+
if version in ['5', '6']:
399399
return ['ARM', 'GCC_ARM', 'IAR']
400400
else:
401401
return target.supported_toolchains

0 commit comments

Comments
 (0)