diff --git a/tools/detect_targets.py b/tools/detect_targets.py index bdccab1f3f..ad90f5b078 100644 --- a/tools/detect_targets.py +++ b/tools/detect_targets.py @@ -102,8 +102,12 @@ def main(): def get_interface_version(mount_point): """ Function returns interface version from the target mounted on the specified mount point - Example of mount_point: - mount_point = mut['disk'] + + mount_point can be acquired via the following: + muts = get_autodetected_MUTS_list() + for mut in muts.values(): + mount_point = mut['disk'] + @param mount_point Name of disk where platform is connected to host machine. """ if get_module_avail('mbed_lstools'):