mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

Allow downgrade prevention without the need to overwrite the received…

Open kvaellning opened this issue 3 years ago • 0 comments

In certain scenarios, additional tests in the updated firmware are performed to determine the success of the update. Nevertheless, in those cases also the downgrade prevention is of interest.

This PR throws out the need activate the overwrite of the old image to avoid bricking of the device if a test run didn't work out.

The older image file will be deleted if the version is less than the current image version, to avoid more impact on the loader code (e.g. to deactivate the pending flag).

kvaellning avatar Jan 26 '22 12:01 kvaellning