Skip to content

Commit fc71961

Browse files
Merge branch 'master' into PR_ADD_IOTV15
2 parents c1aab2d + 0142f4f commit fc71961

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/mbed_os_tools/detect/platform_database.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
u"1308": u"NUMAKER_IOT_M487",
241241
u"1309": u"NUMAKER_M252KG",
242242
u"1310": u"NUMAKER_IOT_M263A",
243+
u"1312": u"NU_M2354",
243244
u"1500": u"RHOMBIO_L476DMW1K",
244245
u"1549": u"LPC1549",
245246
u"1600": u"LPC4330_M4",

src/mbed_os_tools/detect/windows.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def _is_mbed_volume(volume_string):
7070

7171
def _get_cached_mounted_points():
7272
"""! Get the volumes present on the system
73-
@return List of mount points and their associated target id
74-
Ex. [{ 'mount_point': 'D:', 'target_id_usb_id': 'xxxx'}, ...]
73+
@return List of mount points and their associated volume string
74+
Ex. [{ 'mount_point': 'D:', 'volume_string': 'xxxx'}, ...]
7575
"""
7676
result = []
7777
try:
@@ -80,7 +80,7 @@ def _get_cached_mounted_points():
8080
winreg.HKEY_LOCAL_MACHINE, "SYSTEM\\MountedDevices"
8181
)
8282
for v in _iter_vals(mounted_devices_key):
83-
# Valid entries have the following format: \DosDevices\D:
83+
# Valid entries have the following format: \\DosDevices\\D:
8484
if "DosDevices" not in v[0]:
8585
continue
8686

0 commit comments

Comments
 (0)