zephyr/tests/boot/test_mcuboot
Jamie McCrae b33c87caa0 tests: boot: test_mcuboot: Add swap using offset test
Adds a variation of the test which tests swap using offset mode,
based on the swap using move test

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-02-10 19:05:25 +01:00
..
src
swapped_app tests: boot: test_mcuboot: Add swap using offset test 2025-02-10 19:05:25 +01:00
sysbuild
CMakeLists.txt
prj.conf
README.rst
sysbuild.cmake
sysbuild.conf
testcase.yaml tests: boot: test_mcuboot: Add swap using offset test 2025-02-10 19:05:25 +01:00

MCUBoot Swap Testing
#####################

Tests MCUBoot's image swap support. This application is built in three parts
using sysbuild. The first application is the MCUBoot bootloader. The second
application is the main sysbuild target, and will request an image swap
from MCUBoot when booted. The third application is build with a load address
adjustment using CONFIG_BUILD_OUTPUT_ADJUST_LMA, and will be the application
that MCUBoot swaps to when the image swap is requested.

This sequence of applications allows the test to verify support for the MCUBoot
upgrade process on any platform supporting it.