8000 ports/rp2: Set MSC label. · pimoroni/micropython@5131dbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 5131dbd

Browse files
committed
ports/rp2: Set MSC label.
Set the USB mass storage label when the filesystem is created. Signed-off-by: Phil Howard <github@gadgetoid.com>
1 parent 5c54624 commit 5131dbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/rp2/modules/_boot_fat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
except:
1111
os.VfsFat.mkfs(bdev)
1212
vfs = os.VfsFat(bdev)
13+
vfs.label("RP2_MSC")
1314
os.mount(vfs, "/")
1415

1516
del os, bdev, vfs

0 commit comments

Comments
 (0)
0