8000 Merge branch 'master' into patch-3 · ARMmbed/mbed-os-tools@fcaed37 · GitHub
[go: up one dir, main page]

Skip to content

Commit fcaed37

Browse files
Merge branch 'master' into patch-3
2 parents c40c59c + 072f68c commit fcaed37

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/mbed_os_tools/detect/platform_database.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,14 @@
181181
u"0839": u"NUCLEO_WB55RG",
182182
u"0840": u"B96B_F446VE",
183183
u"0841": u"NUCLEO_G474RE",
184+
u"0843": u"NUCLEO_H745ZI_Q",
184185
u"0847": u"DISCO_H745I",
185186
u"0849": u"NUCLEO_G070RB",
186187
u"0850": u"NUCLEO_G431RB",
187188
u"0854": u"NUCLEO_L552ZE_Q",
188189
u"0855": u"DISCO_L562QE",
189190
u"0879": u"NUCLEO_F756ZG",
191+
u"0885": u"B_L4S5I_IOT01A",
190192
u"0900": u"XPRO_SAMR21",
191193
u"0905": u"XPRO_SAMW25",
192194
u"0910": u"XPRO_SAML21",
@@ -239,6 +241,7 @@
239241
u"1308": u"NUMAKER_IOT_M487",
240242
u"1309": u"NUMAKER_M252KG",
241243
u"1310": u"NUMAKER_IOT_M263A",
244+
u"1312": u"NU_M2354",
242245
u"1500": u"RHOMBIO_L476DMW1K",
243246
u"1549": u"LPC1549",
244247
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)
0