mirror of https://github.com/ARMmbed/mbed-os.git
Add permutation print
parent
baa3036041
commit
ae196fc578
|
@ -225,13 +225,15 @@ def mcu_toolchain_matrix():
|
||||||
pt.align[col] = "c"
|
pt.align[col] = "c"
|
||||||
pt.align["Platform"] = "l"
|
pt.align["Platform"] = "l"
|
||||||
|
|
||||||
|
perm_counter = 0;
|
||||||
for target in sorted(TARGET_NAMES):
|
for target in sorted(TARGET_NAMES):
|
||||||
row = [target] # First column is platform name
|
row = [target] # First column is platform name
|
||||||
for unique_toolchain in unique_supported_toolchains:
|
for unique_toolchain in unique_supported_toolchains:
|
||||||
text = "-"
|
text = "-"
|
||||||
if unique_toolchain in TARGET_MAP[target].supported_toolchains:
|
if unique_toolchain in TARGET_MAP[target].supported_toolchains:
|
||||||
text = "Supported"
|
text = "Supported"
|
||||||
|
perm_counter += 1
|
||||||
row.append(text);
|
row.append(text);
|
||||||
pt.add_row(row)
|
pt.add_row(row)
|
||||||
print pt
|
print pt
|
||||||
|
print "Total permutations: %d"% (perm_counter)
|
||||||
|
|
Loading…
Reference in New Issue