This is a block device implementation of the USB MSD driver. It will allow you to easily change between different storage devices that implement the block device API.
Dependencies: USBDevice USBMSD_BD max32630fthr
Fork of FTHR_USBMSD_Demo by
Diff: main.cpp
- Revision:
- 9:6ada4f89915c
- Parent:
- 8:8c31b3ba5371
- Child:
- 10:404433ce329d
--- a/main.cpp Fri Feb 23 23:26:43 2018 +0000 +++ b/main.cpp Sat Feb 24 18:05:12 2018 +0000 @@ -19,7 +19,7 @@ FATFileSystem fs("fs"); // USB MSD -USBMSD_BD msd(&bd, BLOCK_SIZE); +USBMSD_BD msd(&bd); // main() runs in its own thread in the OS