Skip to content
Snippets Groups Projects
Commit cc1ef76f authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266/scripts/flashbdev: Correct bootloader flash size to match real size.

Flash size as seen by vendor SDK doesn't depend on real size, but rather on
a particular value in firmware header, as put there by flash tool. That means
it's user responsibility to know what flash size a particular device has, and
specify correct parameters during flashing. That's not end user friendly
however, so we try to make it "flash and play" by detecting real size vs
from-header size mismatch, and correct the header accordingly.
parent 58440688
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment