mirror of https://github.com/ARMmbed/mbed-os.git
Added default on-line compiler info in -S option for target/compiler support
parent
522d2812c5
commit
5d553dae3f
|
@ -253,9 +253,12 @@ def mcu_toolchain_matrix(verbose_html=False):
|
|||
perm_counter = 0
|
||||
for target in sorted(TARGET_NAMES):
|
||||
row = [target] # First column is platform name
|
||||
default_online_compiler = TARGET_MAP[target].ONLINE_TOOLCHAIN
|
||||
for unique_toolchain in unique_supported_toolchains:
|
||||
text = "-"
|
||||
if unique_toolchain in TARGET_MAP[target].supported_toolchains:
|
||||
if default_online_compiler == unique_toolchain:
|
||||
text = "Default"
|
||||
elif unique_toolchain in TARGET_MAP[target].supported_toolchains:
|
||||
text = "Supported"
|
||||
perm_counter += 1
|
||||
row.append(text)
|
||||
|
@ -263,6 +266,9 @@ def mcu_toolchain_matrix(verbose_html=False):
|
|||
|
||||
result = pt.get_html_string() if verbose_html else pt.get_string()
|
||||
result += "\n"
|
||||
result += "*Default - default on-line compiler\n"
|
||||
result += "*Supported - supported off-line compiler\n"
|
||||
result += "\n"
|
||||
result += "Total permutations: %d"% (perm_counter)
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in New Issue