Packaging SPIFFS
Posted: Mon Jul 29, 2019 8:15 am
Greetings all.
To set up this question: My first experience using SPIFFS was with ESP32. There I learned to create a partition file (partition.bin) as well as generate a bin file for the SPIFFS data (spiffsgen.py.)
With the ESP8266 I have learned how to use SPIFFS internal to the program such as reading and writing configurations. I have learned to upload the data/ directory via the Arduino IDE as well as with PlatformIO. What I am trying to do however is emulate that functionality I learned with the ESP32 and "package" the data/ directory such that I can release the bin files to end-users.
Is this possible? If so, can someone please point me to an idiot's guide? Google-fu is failing me.
If this is not possible; hopefully, someone has come up with a more glamorous idea than my best one so far (curl-ing in the files on initial setup.)
Thanks in advance for your assistance.
To set up this question: My first experience using SPIFFS was with ESP32. There I learned to create a partition file (partition.bin) as well as generate a bin file for the SPIFFS data (spiffsgen.py.)
With the ESP8266 I have learned how to use SPIFFS internal to the program such as reading and writing configurations. I have learned to upload the data/ directory via the Arduino IDE as well as with PlatformIO. What I am trying to do however is emulate that functionality I learned with the ESP32 and "package" the data/ directory such that I can release the bin files to end-users.
Is this possible? If so, can someone please point me to an idiot's guide? Google-fu is failing me.
If this is not possible; hopefully, someone has come up with a more glamorous idea than my best one so far (curl-ing in the files on initial setup.)
Thanks in advance for your assistance.