Add USB drive mode to TinyUSB, SingleFileDisk #1034

Merged
earlephilhower merged 8 commits from msd into master 2022-12-10 00:59:24 +03:00
earlephilhower commented 2022-12-07 23:57:12 +03:00 (Migrated from github.com)

SingleFileDisk allows for exporting a file from the onboard LittleFS filesystem to a PC through an emulated FAT drive when connected. The PC can open and copy the file, as well as delete it, but the PC has no access to the main onboard LittleFS and no actual on-flash FAT structures are used.

This is handy for things like data loggers. They can run connected to USB power for some time, and then connected to a PC to dowmload the CSV log recorded.

SingleFileDisk allows for exporting a file from the onboard LittleFS filesystem to a PC through an emulated FAT drive when connected. The PC can open and copy the file, as well as delete it, but the PC has no access to the main onboard LittleFS and no actual on-flash FAT structures are used. This is handy for things like data loggers. They can run connected to USB power for some time, and then connected to a PC to dowmload the CSV log recorded.
Sign in to join this conversation.