Skip to content

write-bin: Skip writing if binary has not changed. #630

Open
@jounathaen

Description

@jounathaen

First: I love espflash! It is a great tool! Thanks for all the work!

I'm trying to optimize my flash times by putting static data into a separate partition, which works quite decent via write-bin. But unlike flash, write-bin does not check the MD5 sum of the section and thus does not skip if the same data is already present at that address. This prevents me from adding the write-bin step into the flashing script.

Desired feature:

  • Add a --skip-if-present option to write-bin, that checks the md5 hash before writing and skips if it matches the data to be written.

Alternative Approaches:

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest for new feature/functionality

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions