Closed DawDavis closed 3 months ago
Set a filesystem size in the Tools->Flash Size
menu or you can't use a filesystem. The LittleFS->Speedtest.ino
example can be used to verify.
Err, and available()
returns the bytes available to read, not if a file exists. Same as Serial
or other Streams
Thanks! That was my issue is relying on the available and simply not RTFMing it. BTW Great library - really has been making development so easy.
Hi, I'm using this program in Arduino IDE against a KB2040 from Adafruit. I cannot for the life of me seem to get the LittleFS file system to initialize a new file this way. Is this expected behavior? or what further information should I provide to help diagnose whatever is happening?
I've retried using a bog-standard RPi Pico board, to the same result.
Also, is there a minimal known good example .ino file to test LittleFS against? I'd love to verify it's not just my code.