dmitrystu / libusb_stm32

Lightweight USB device Stack for STM32 microcontrollers
Apache License 2.0
696 stars 160 forks source link

Mass storage? #122

Open tomvarghese opened 1 year ago

tomvarghese commented 1 year ago

I'm curious why a Mass Storage class has not been implemented. Seems like it is one of the most common reasons for having USB in an embedded system. Most likely with a FatFS to make it compatible with a PC.

Did I miss it or is it that hard to implement?

Depending on cost, I may be willing to fund it.

Thank you!

GrantMTG commented 1 year ago

I'm not an expert in this library, but from what I see it is a minimal framework (for which I am eternally grateful). You may be able to find examples or forks for MSD using this library. I looked at TinyUSB before finding this one and it's anything but tiny anymore. I have used this one a few times for "raw" HID, HID Keyboard and MIDI.

One of the other things, you seem to be aware of, is that you need a file system and SCSI command support. Hopefully others provide better info.