Skip to content

How to decrease FW size to keep Web Update on ESP8266 #331

Closed Locked Answered by luc-github
luc-github asked this question in F.A.Q
Discussion options

You must be logged in to vote

Update: since ESP8266 release 2.7.1 the update can handle compressed binary the binary is installed at next boot so it will need 2 reboots, these reboots are automatics

  • For 1MB flash I recommend FS:144KB max which give OTA 430KB, if this is not what you have in use you will need to reupload the index.html.gz after update and use the single language package

  • If your current FW is not using the EP8266 2.7.1 core you need to install a small FW first to allow compressed update -

    • for this in config.h uncomment :
      //#define USE_AS_UPDATER_ONLY
    • Generate a binary to update your FW, the size should be around 350KB
    • Update your FW with the updater binary
  • Now generate a normal binary with optio…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by luc-github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
F.A.Q
Labels
1 participant
Converted from issue

This discussion was converted from issue #331 on December 11, 2020 08:25.