marcelstoer / nodemcu-pyflasher

Self-contained NodeMCU flasher with GUI based on esptool.py and wxPython.
MIT License
1.46k stars 397 forks source link

Upload littlefs.bin #96

Open peakpeak-github opened 1 year ago

peakpeak-github commented 1 year ago

Nice tool! It would be nice if I also could upload the filesystem (littlefs.bin) with it. Any plans for that?

marcelstoer commented 1 year ago

There are no plans for that as this feature wouldn't be addressing the same user group the app was built for. IMO it already has too many knobs 😉 I assume if you know how to build a filesystem binary you are expert enough to also use a tool more geared towards exports?

Maybe if the GUI had some sort of "Advanced" section (collapsed by default) one could add a filesystem section there. I would certainly consider this if someone offered a PR to that effect.

That being said I already built something similar earlier. For my company ThingPulse we forked this project to build the App Fairy. Explanation in our blog at https://thingpulse.com/install-configure-apps-with-the-app-fairy/

It uses spiffsgen.py from Espressif to build a SPIFFS image containing the application properties entered in the GUI. That binary is then flashed after the app binary.

peakpeak-github commented 1 year ago

My solution here: https://github.com/peakpeak-github/ImageMerge