sim: emits *_SWAP_USING_SCRATCH macros
Emits either MCUBOOT_SWAP_USING_SCRATCH and CONFIG_BOOT_SWAP_USING_SCRATCH when swap using scratch algorithm is expected. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
parent
c49d7c9398
commit
137d797177
|
@ -143,6 +143,9 @@ fn main() {
|
||||||
|
|
||||||
if swap_move {
|
if swap_move {
|
||||||
conf.define("MCUBOOT_SWAP_USING_MOVE", None);
|
conf.define("MCUBOOT_SWAP_USING_MOVE", None);
|
||||||
|
} else if !overwrite_only {
|
||||||
|
conf.define("CONFIG_BOOT_SWAP_USING_SCRATCH", None);
|
||||||
|
conf.define("MCUBOOT_SWAP_USING_SCRATCH", None);
|
||||||
}
|
}
|
||||||
|
|
||||||
if enc_rsa {
|
if enc_rsa {
|
||||||
|
|
Loading…
Reference in New Issue