adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
465 stars 120 forks source link

Added new sample msc_ramdisk-3-files #248

Closed fredericaltorres closed 1 year ago

fredericaltorres commented 1 year ago

A code example that shows 3 files in ramdisk including a .jpg. writeme.txt file can be updated. Changes are only stored in memory.

fredericaltorres commented 1 year ago

Ok

hathach commented 1 year ago

thanks, I will close this now. Note: I have also written an more complicated ghostfat with multiple/dynamic file image generated on-the-fly here https://github.com/adafruit/tinyuf2/blob/master/src/ghostfat.c, which is used as part of tinyuf2 bootloader project.

FYI I also have an plan to make an arduino ghostfat library for use to map file contents to an variable, array, flash etc.. when having more time https://github.com/adafruit/Adafruit_GhostFAT (which apparently never happens yet).