Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
liu2-3zhi opened this issue Jul 27, 2023 · 3 comments
Closed

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

liu2-3zhi opened this issue Jul 27, 2023 · 3 comments

Comments

@liu2-3zhi
Copy link

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
Copy link
Owner

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
Copy link
Owner

you are welcome

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants