zephyr/tests/boot/test_mcuboot
Grzegorz Swiderski 6640c04df6 sysbuild: Remove IMAGES variable
This variable was originally provided for two indended purposes:

  * Let users manually add a new image in a desired order in the list.
  * Let users set build-only images, which are excluded from the list.

Given the recent additions of the `sysbuild_add_dependencies()` function
and the `BUILD_ONLY` parameter, `IMAGES` should be considered obsolete.

Furthermore, the list of images added to sysbuild should be updated
automatically when calling `ExternalZephyrProject_Add()`. This is now
possible by using a GLOBAL property internal to sysbuild.

With that, the `IMAGES` variable can be removed. Its existing usage for
image ordering is replaced with `sysbuild_add_dependencies()` treewide.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2023-09-05 15:27:04 +02:00
..
src samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
swapped_app samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
sysbuild tests: boot: test_mcuboot: Add mcuboot log level 2023-04-06 18:51:23 +02:00
CMakeLists.txt
prj.conf tests: boot: test_mcuboot: Add FLASH_MAP and STREAM_FLASH 2023-03-03 10:49:32 +01:00
README.rst
sysbuild.cmake sysbuild: Remove IMAGES variable 2023-09-05 15:27:04 +02:00
sysbuild.conf
testcase.yaml tests: boot: mcuboot: disable test 2023-05-25 16:29:40 -04: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.