modules: kconfig: mcuboot: make SWAP_USING_OFFSET the default for STM32
Update MCUboot configuration so that STM32 no longer defaults to SWAP_USING_MOVE. Instead, SWAP_USING_OFFSET becomes the default mode for STM32 boards. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit is contained in:
committed by
Fabio Baltieri
parent
5018d2456e
commit
b152f71aaa
@@ -189,7 +189,7 @@ menu "On board MCUboot operation mode"
|
||||
choice MCUBOOT_BOOTLOADER_MODE
|
||||
prompt "Application assumed MCUboot mode of operation"
|
||||
# Should be removed if board dts is updated
|
||||
default MCUBOOT_BOOTLOADER_MODE_SWAP_USING_MOVE if SOC_FAMILY_STM32 || SOC_FAMILY_ESPRESSIF_ESP32
|
||||
default MCUBOOT_BOOTLOADER_MODE_SWAP_USING_MOVE if SOC_FAMILY_ESPRESSIF_ESP32
|
||||
default MCUBOOT_BOOTLOADER_MODE_SWAP_USING_OFFSET
|
||||
help
|
||||
Informs application build on assumed MCUboot mode of operation.
|
||||
|
||||
@@ -33,7 +33,7 @@ if BOOTLOADER_MCUBOOT
|
||||
choice MCUBOOT_MODE
|
||||
prompt "Mode of operation"
|
||||
# Should be removed if board dts is updated
|
||||
default MCUBOOT_MODE_SWAP_USING_MOVE if SOC_FAMILY_STM32 || SOC_FAMILY_ESPRESSIF_ESP32
|
||||
default MCUBOOT_MODE_SWAP_USING_MOVE if SOC_FAMILY_ESPRESSIF_ESP32
|
||||
default MCUBOOT_MODE_SWAP_USING_OFFSET
|
||||
help
|
||||
The operating mode of MCUboot (which will also be propagated to the application).
|
||||
|
||||
Reference in New Issue
Block a user