zephyr/tests/boot/mcuboot_recovery_retention/CMakeLists.txt
Jamie McCrae a445ee538c tests: Add mcuboot_recovery_retention test
Adds a test that exercises the boot mode (retention subsystem)
feature to check that an application can successfully boot into
mcuboot's serial recovery mode.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-04-24 13:27:53 +02:00

20 lines
398 B
CMake

#
# Copyright (c) 2023 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(mcuboot_recovery_retention)
if(NOT (DEFINED SYSBUILD))
message(FATAL_ERROR "This test must be built with sysbuild.")
endif()
FILE(GLOB app_sources
src/*.c
)
target_sources(app PRIVATE ${app_sources})