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:
parent
b4f8810629
commit
3c9d5c45ab
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue