Always use overwrite-only code for non-revert upgrades

Description

We have added the configuration BOOTUTIL_OVERWRITE_ONLY to allow a simpler upgrade process to be used. Instead of just making this code a compile-time choice, enhance the regular startup to use this code when the system has requested a non-test upgrade (which won't be reverted).

Since there is still a desire to be able to revert, this should be another compilation option.

Status

Assignee

David Brown

Reporter

David Brown

Labels

None

Fix versions

Priority

Low