Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By brutzler
#25624
Don't be afraid, you don't need to build a Linux kernel, simply this "mkspiffs" tool, then you go back to your Windows environment.

Yes, but then i will always have to change to Linux to make an image. If I get the mkspiffs compiled on MinGW, then I can stay on Windows

martinayotte wrote:In the mean time, just to let try SPIFFS on your side, I'm providing my image in attachment.

OK, will try out in the evening.
Looks like we have a litle time delay... UTC+1:00 for me ;)
User avatar
By brutzler
#25667 @martinayotte.

Thx for providing your image.
And here is the result:
Code: Select allSPIFFSImpl: allocating 512+180+1400=2092 bytes
SPIFFSImpl: mounting fs @6b000, size=4000, block=1000, page=100
SPIFFSImpl: mount rc=0
erfolgreich
Dateien im Verzeichnis:
/metalic.png
/Tourlou.txt
/README.md
User avatar
By vtraveller
#31304 I got the staging FS.h to work, but I had to mod the FS.h file by commenting out the namespaces at the end excluding fs::FS

That way I could then #include <SD.h> as well and still use SPIFFS relatively normally.

To use any of the SPIFFS structures I then prefixed by the namespace. i.e. fs::Dir, fs::File etc.

This got me round the conflict and allowed me to copy from an SD to the internal FFS.

The reason SPIFFS is so important is that in many cases hooking up an SD reader, plus inserting an SD takes up too much space on the project board (plus power etc etc). So I'm REALLY grateful that the SPIFFS support has been done as it reduces my projects to a single board, plus a peripheral. I plug in a connector when I want to boot/upgrade from SD after detecting it.