USB Mass storage class

HI,

I am trying to write some local files on internal FAT on spi flash - which works.

now i will enable_usb_device_next()   (like the MSC example -- using the next usb stack)

But i want the fat fs to be mounted as Read only

i have tried some flags (FS_MOUNT_FLAG_READ_ONLY | FS_MOUNT_FLAG_NO_FORMAT)

before enable_usb_device_next() - but it does not work.

So i wonder if there is no support for a read only usb mass storage device on?

 

Related