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

Moderator: igrr

User avatar
By brutzler
#25711 Hiphiphurrah....

was a good tip. (How can somebody know such special things...)
Made this changes in the Makefile:
Code: Select all--   CFLAGS      ?= -std=gnu99 -Os -Wall
++   CFLAGS      ?= -std=gnu99 -Os -Wall -mno-ms-bitfields

Then compiling the mkspiffs.exe

Your (martinayotte) image with the new one:
Code: Select allC:\ArduinoEsp8266>mkspiffs -l spiffstest_martin.bin
1405    /metalic.png
1428    /Tourlou.txt
1428    /README.md


Then making my own image -> flashing to ESP -> directory strucure is OK, content of the file is OK.

How to tell igrr to change the Makefile for windows? And modify the spiffs_config.h
User avatar
By martinayotte
#25725 Hourra !!! :D

I will take care of telling IGRR to add those fixes, although he is maybe following our thread.
Anyway, I've also a fix/enhancement to get the fileSize() while enumerating files with openDir().

So, have fun !