-->
Page 1 of 1

How to create a SPIFFS file that can be directly downloaded?

PostPosted: Sun Sep 03, 2017 6:18 pm
by Bootalito
I've been using the ESP8266FS ARduino IDE plugin to write files to SPIFFS (http://esp8266.github.io/Arduino/versio ... ystem.html). I'm wondering how I can write files to SPIFFS easily without using the Arduino IDE plugin by creating a 1MB .bin that is the SPIFFS image that I want (and contains all of the files), so that I can simply flash this 1 MB .bin file directly to the flash and have all of the files that I want there. Note that I'm using "Flash Size: 4MB (1MB SPIFFS)" instead of the default "Flash Size: 4MB (3MB SPIFFS)" as it makes uploading 3 times faster and I'm barely using 199kb.