Relative Content

Tag Archive for cembedded

Is there a way to create an instance of USBMSD based on a file in the flash?

I’m new to c++ and I’m having a problem programming my raspberry pi pico. I want to be able to create files on the flash memory from windows by having it show up as a mass storage device. Creating an instance of USBMSD makes it show up in windows immediately. The problem is that I want to read a file on the flash and then decide if the flash shoykd come up as a mass storage device.
The library that I’m using to mount the flash as a mass storage device comes with the rp2040 mbed os board in the arduino ide.
USBMSD library