Skip to content

Commit 76078f6

Browse files
committed
Include -t ARM support for v8m, armc6 targets
1 parent 24df8f8 commit 76078f6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tools/build_api.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,9 +1198,13 @@ def mcu_toolchain_matrix(verbose_html=False, platform_filter=None,
11981198
row.append(text)
11991199

12001200
for unique_toolchain in unique_supported_toolchains:
1201-
if (unique_toolchain in TARGET_MAP[target].supported_toolchains or
1201+
tgt_obj = TARGET_MAP[target]
1202+
if (unique_toolchain in tgt_obj.supported_toolchains or
12021203
(unique_toolchain == "ARMC6" and
1203-
"ARM" in TARGET_MAP[target].supported_toolchains)):
1204+
"ARM" in tgt_obj.supported_toolchains) or
1205+
(unique_toolchain == "ARM" and
1206+
"ARMC6" in tgt_obj.supported_toolchains and
1207+
CORE_ARCH[tgt_obj.core] == 8)):
12041208
text = "Supported"
12051209
perm_counter += 1
12061210
else:

0 commit comments

Comments
 (0)