summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/scripts/_boot.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-20 13:48:33 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-20 18:07:34 +0300
commitcc1ef76f887f8f56363e3e431ba17320cf99a533 (patch)
tree49231f7dd5678b29536e7cb07c46067b56e90e66 /esp8266/scripts/_boot.py
parent584406880c8354d87a714f934e1984393ec76c3b (diff)
downloadmicropython-cc1ef76f887f8f56363e3e431ba17320cf99a533.tar.gz
micropython-cc1ef76f887f8f56363e3e431ba17320cf99a533.zip
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.
Diffstat (limited to 'esp8266/scripts/_boot.py')
0 files changed, 0 insertions, 0 deletions