Skip to content

Commit 31469b4

Browse files
nordicjmde-nordic
authored andcommitted
boot: zephyr: kconfig: Flip swap move defaults for esp32/stm32
Enables using the old default of swap using move on esp32 and removes it for stm32 devices Signed-off-by: Jamie McCrae <[email protected]>
1 parent a2ee0a7 commit 31469b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ config BOOT_VALIDATE_SLOT0_ONCE
469469

470470
config BOOT_PREFER_SWAP_OFFSET
471471
bool "Prefer the newer swap offset algorithm"
472-
default y if !$(dt_nodelabel_enabled,scratch_partition) && !SOC_FAMILY_STM32
472+
default y if !$(dt_nodelabel_enabled,scratch_partition) && !SOC_FAMILY_ESPRESSIF_ESP32
473473
help
474474
If y, the BOOT_IMAGE_UPGRADE_MODE will default to using "offset" instead of "scratch".
475475
This is a separate bool config option, because Kconfig doesn't allow defaults to be

0 commit comments

Comments
 (0)