There are some unreleased fixes in [esp-idf-part](https://github.com/esp-rs/esp-idf-part). Could they be released and included in the next release of espflash?