Conversation
|
Hi! Here are my testing results. cc @ivmarkov |
|
Rebased in order to adapt to changes on main. Since the issue with the |
|
@SergioGasquez In case you are wondering, there are a few different reasons for why the .bin file you got from esptool.py and espflash are different.
If you do all of those three steps (Not using esp-hal and relying on ESP-IDF instead, using exactly the same parameters and preventing the inclusion of a proper ELF checksum), you will actually get exactly the same binary: |
|
Hi! I iterated over this PR and go a slightly improved version where we add the We still have the issue of this being a major breaking change, as it introduces a new parameter to |
This PR adds support for "secure padding", just like esptool.py's
--secure-pad-v2option, as discussed in #713.In contrast to main...SergioGasquez:espflash:feat/secure-padding, this also adds an additional padding section, just like esptool.py. Thus, using esptool.py and espflash save-image with
--secure-pad-v2will now result in exactly the same output.Also, it makes the
connection::resetcrate public again, since it is required to call theFlasher::connectmethod when espflash is used as a library. It was previously madepub(crate)in be1ff81.