1 year ago.
Is it possible to simple representation of the littlefs as a USB storage class?
I'm very interested in your file system. But I have one more question. When using a non-removable flash memory it would be convenient to have access to the volume as a standard USB device. Is it possible without additional complexity?
Thanks in advance.
Question relating to:
9 months, 3 weeks ago.
Long time coming, but maybe you will find this useful.
There appears to be an upcoming feature branch for USB-enabled devices that implements what you are asking for. See here: https://github.com/ARMmbed/mbed-os/blob/9e06f07ebe475803b4f3ddd6cd574e5e72293794/usb/device/USBMSD/USBMSD.cpp
You can link up a USBMSD class to a BlockDevice and expose it as a USB mass storage device. Not sure how far along the feature is so far. May be worth checking out. Please note that your target must support hardware USB. The HAL may not be written for your specific target yet so you may have to do that yourself.
To post an answer, please log in.