How to build firmware with initialized filesystem

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
iBobik
Posts: 7
Joined: Tue Dec 13, 2016 1:11 pm

How to build firmware with initialized filesystem

Post by iBobik » 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.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: How to build firmware with initialized filesystem

Post by dhylands » Tue Mar 05, 2019 7:26 pm

Currently, you can do something like what's described here:
viewtopic.php?f=3&t=5877&p=33694#p33694

Post Reply