• Paul Sokolovsky's avatar
    esp8266/scripts/flashbdev: Correct bootloader flash size to match real size. · cc1ef76f
    Paul Sokolovsky authored
    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.
    cc1ef76f