arduino-libraries / Arduino_UnifiedStorage

Read and write files to flash, USB mass storage and SD cards in a unified way.
GNU Lesser General Public License v2.1
11 stars 3 forks source link

UFile::available() does not work correctly with QSPI flash and other issues #41

Open ddmesh opened 2 months ago

ddmesh commented 2 months ago

The Finder Opta device contains a 2Mbyte QSPI flash. When calling UFile::available() to get the file size (file position still at 0 after opening), I would expect the file size. But I get almost flash size.

If you like you may create several issues for this one and separate it. I just wanted to tell you my findings.