luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.78k stars 465 forks source link

[Question]<Can I embed index.html.gz into .bin file?> #936

Closed liu2-3zhi closed 1 year ago

liu2-3zhi commented 1 year ago

Can I embed index.html.gz into .bin file? index.html.gz needs to connect to wifi to upload manually every time, which is very troublesome.

luc-github commented 1 year ago

you should not have to upload index.html.gz each time you upload the FW only the first time there are pluggins for arduino according the targeted filesystem: spiffs, littlefs, fat to upload the content of data directory from ide

Same.feature exists in platformio but it need an extra line that is not present in platformio.ini to define the filesystem and I never tested this process. so I cannot say more

Finally if your issue is to do several upload the best factory process is to build a complete image on targeted board then use esptool to dump it as full image and reuse it to flash fw+fs at once as many times as you need

luc-github commented 1 year ago

you are welcome

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.