You could use `picotool seal`, which can append a new metadata block with a specified version number (it also adds a load_map, and can optionally hash the binary too)It doesn't exactly match what you want as it doesn't increment the version, it appends a new metadata block with a specified version, but could be useful?
Code:
picotool seal old.uf2 new.uf2 --major 7 --minor 3
Statistics: Posted by will-v-pi — Mon Apr 28, 2025 4:21 pm