mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #6000 from daid/patch-1
Prevent detect_targets.py tool script from crashing on known targetspull/6113/head
commit
28ac288698
|
@ -80,7 +80,7 @@ def main():
|
|||
|
||||
count = 0
|
||||
for mut in muts.values():
|
||||
if re.match(mcu_filter, mut['mcu']):
|
||||
if re.match(mcu_filter, mut['mcu'] or "Unknown"):
|
||||
interface_version = get_interface_version(mut['disk'])
|
||||
print("")
|
||||
print("[mbed] Detected %s, port %s, mounted %s, interface "
|
||||
|
|
Loading…
Reference in New Issue