Skip to content

Commit

Permalink
[nrf noup] Fix the external cluster injection mechanism
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
markaj-nordic committed Mar 15, 2024
1 parent 7653e6c commit 4f8914e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/chip_data_model.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ endfunction()
# supported by the application.
# IDL .matter IDL file to use for codegen. Inferred from ZAP_FILE
# if not provided
# EXTERNAL_CLUSTERS Clusters with external implementations. The default implementations
# will not be used nor required for these clusters.
# Format: MY_CUSTOM_CLUSTER'.
#

function(chip_configure_data_model APP_TARGET)
set(SCOPE PRIVATE)
cmake_parse_arguments(ARG "INCLUDE_SERVER;BYPASS_IDL" "ZAP_FILE;GEN_DIR;IDL" "" ${ARGN})
cmake_parse_arguments(ARG "INCLUDE_SERVER;BYPASS_IDL" "SCOPE;ZAP_FILE;GEN_DIR;IDL" "EXTERNAL_CLUSTERS" ${ARGN})

if(ARG_SCOPE)
set(SCOPE ${ARG_SCOPE})
Expand Down

0 comments on commit 4f8914e

Please sign in to comment.