Open oyama opened 2 weeks ago
Tested large files(512KB) with loopback device, but gave up because of unrealistic throughput: 2kBytes/sec. There are difficulties in handling large files with littlefs. Implementing a 'split-file loopback device' that treats directories with small files as virtual block devices might improve throughput.
A loopback device has been added to pico-vfs: https://github.com/oyama/pico-vfs/issues/26
This allows any disk image file to be created on littlefs and used as a virtual block device. If the virtual block device is formatted in FAT and set to share with USB MSC, it can share up to about half of the physical storage.