How to build firmware with initialized filesystem
Posted: Tue Mar 05, 2019 4:50 pm
Hello,
I want to build firmware with custom scripts and default config files on filesystem, so user can just download firmware.bin from website, flash it with esptool and have working device.
Are there some tools what can be used in CI to build also filesystem (minimal to expand it on device)?
I know I can modify inisetup.py to create also my files on first boot, but it is not very elegant and will result in files stored twice - in code of frozen module and in filesystem.
I want to build firmware with custom scripts and default config files on filesystem, so user can just download firmware.bin from website, flash it with esptool and have working device.
Are there some tools what can be used in CI to build also filesystem (minimal to expand it on device)?
I know I can modify inisetup.py to create also my files on first boot, but it is not very elegant and will result in files stored twice - in code of frozen module and in filesystem.