Skip to content

Commit 98de316

Browse files
committed
suit: Add warning about default VID/CID
Add a warning if user tries to build an app with default VID and CID values. Ref: NCSDK-29986 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent be9bab7 commit 98de316

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cmake/sysbuild/suit_provisioning.cmake

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,18 @@ function(generate_mpi_hex manifest_role)
7272
return()
7373
endif()
7474

75+
if(SB_CONFIG_SUIT_MPI_${manifest_role}_VENDOR_NAME STREQUAL "nordicsemi.com")
76+
message(WARNING "
77+
-----------------------------------------------------------
78+
--- WARNING: Using default Vendor ID (nordicsemi.com). ---
79+
--- It should not be used for production. ---
80+
--- See SB_CONFIG_SUIT_MPI_${manifest_role}_VENDOR_NAME \t---
81+
--- and SB_CONFIG_SUIT_MPI_${manifest_role}_CLASS_NAME \t---
82+
-----------------------------------------------------------
83+
\n"
84+
)
85+
endif()
86+
7587
MATH(
7688
EXPR
7789
SUIT_MPI_${manifest_role}_ADDRESS

0 commit comments

Comments
 (0)