This example turns the Mbed board into the mass storage device (SDBlockDevice).
- Flash the board.
- Insert SD-card to the target's SD-card slot.
- Reset the target.
- USB mass storage drive should appear in your file explorer.
- You should be able to access files on this drive.
Note: This example should work without any modifications on the K64F
target.
Note: On other targets please update pins used to create SDBlockDevice
object to be consistent with your board.
Note: Please try to connect board directly to the PC (without USB hub) if you encountered some problems with this example.
MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.