Skip to content

Commit bcfa1f9

Browse files
committed
tools build: add 6 to the version check
1 parent 12cadc2 commit bcfa1f9

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
@@ -51,7 +51,7 @@
5151
from .toolchains.mbed_toolchain import should_replace_small_c_lib
5252
from .config import Config
5353

54-
RELEASE_VERSIONS = ['2', '5']
54+
RELEASE_VERSIONS = ['2', '5', '6']
5555

5656
def prep_report(report, target_name, toolchain_name, id_name):
5757
"""Setup report keys
@@ -328,7 +328,7 @@ def is_official_target(target_name, version):
328328
("following toolchains: %s" %
329329
", ".join(target.supported_toolchains))
330330

331-
elif version == '5':
331+
elif version in ['5', '6']:
332332
# For version 5, ARM, GCC_ARM, and IAR toolchain support is required
333333
required_toolchains = [
334334
set(['ARM', 'GCC_ARM']),

0 commit comments

Comments
 (0)