samples/mcumgr/smp_svr: Build for DirectXIP with revert
Adds sample build for
CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT=y
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
diff --git a/samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml b/samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml
index ed7ffe8..a13270e 100644
--- a/samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml
+++ b/samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml
@@ -43,6 +43,19 @@
- mg100
integration_platforms:
- nrf52840dk_nrf52840
+ # In mcuboot_flags test overlay-serial.conf is used for convenience as it is the simplest
+ # transport. Transport does not affect flags so it does not really matter which is selected,
+ # flags should affect any transport the same way.
+ sample.mcumgr.smp_svr.mcuboot_flags.direct_xip_withrevert:
+ extra_args: OVERLAY_CONFIG="overlay-serial.conf"
+ extra_configs:
+ - CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT=y
+ platform_allow:
+ - nrf52840dk_nrf52840
+ - pinnacle_100_dvk
+ - mg100
+ integration_platforms:
+ - nrf52840dk_nrf52840
sample.mcumgr.smp_svr.serial-console:
extra_args: OVERLAY_CONFIG="overlay-serial-console.conf"
platform_allow: