sim: change MCUBOOT_OVERWRITE_ONLY_FAST usage
Remove `MCUBOOT_OVERWRITE_ONLY_FAST` from overwrite-only upgrades, to
make it compatible with `large-write` tests after the latest changes
to the fast overwrite code; make it default when bootstrapping.
@@ -39,6 +39,7 @@ fn main() {
if bootstrap {
conf.define("MCUBOOT_BOOTSTRAP", None);
+ conf.define("MCUBOOT_OVERWRITE_ONLY_FAST", None);
}
if validate_primary_slot {
@@ -121,7 +122,6 @@ fn main() {
if overwrite_only {
conf.define("MCUBOOT_OVERWRITE_ONLY", None);
- conf.define("MCUBOOT_OVERWRITE_ONLY_FAST", None);
}
if swap_move {
