Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applications: nrf_desktop: Add CMake warning for MCUboot using KMU #19440

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions applications/nrf_desktop/sysbuild/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@ set(ipc_radio_APPLICATION_CONFIG_DIR
find_package(Sysbuild REQUIRED HINTS $ENV{ZEPHYR_BASE})

project(sysbuild LANGUAGES)

if(SB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU)
message(WARNING "
------------------------------------------------------------------------------
--- WARNING: MCUboot uses KMU stored keys for signature verification. Make ---
--- sure to use `west ncs-provision` to manually provision the bootloader. ---
--- Application would fail to boot if MCUboot is not provisioned. For more ---
--- details, see the `Building and running` section from `Application ---
--- description` page in nRF Desktop application documentation. ---
------------------------------------------------------------------------------
")
endif()
Loading