luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

liu2-3zhi opened this issue · comments

commented

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.

commented

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

commented

you are welcome

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.