Skip to content

Commit 4f8914e

Browse files
committed
[nrf noup] Fix the external cluster injection mechanism
The necessary change was reverted during the last upmerge. Without this fix, the external cluster injection does not work. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no>
1 parent 7653e6c commit 4f8914e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/chip_data_model.cmake

+5-1
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,14 @@ endfunction()
6969
# supported by the application.
7070
# IDL .matter IDL file to use for codegen. Inferred from ZAP_FILE
7171
# if not provided
72+
# EXTERNAL_CLUSTERS Clusters with external implementations. The default implementations
73+
# will not be used nor required for these clusters.
74+
# Format: MY_CUSTOM_CLUSTER'.
7275
#
76+
7377
function(chip_configure_data_model APP_TARGET)
7478
set(SCOPE PRIVATE)
75-
cmake_parse_arguments(ARG "INCLUDE_SERVER;BYPASS_IDL" "ZAP_FILE;GEN_DIR;IDL" "" ${ARGN})
79+
cmake_parse_arguments(ARG "INCLUDE_SERVER;BYPASS_IDL" "SCOPE;ZAP_FILE;GEN_DIR;IDL" "EXTERNAL_CLUSTERS" ${ARGN})
7680

7781
if(ARG_SCOPE)
7882
set(SCOPE ${ARG_SCOPE})

0 commit comments

Comments
 (0)