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.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
This commit is contained in:
Fabio Utzig 2020-10-04 10:12:53 -03:00 committed by Fabio Utzig
parent b4f8810629
commit 3c9d5c45ab
1 changed files with 1 additions and 1 deletions

View File

@ -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 {