You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nrf noup] Align full zap generation to changes in Matter Upstream
Now, the zap_generate Python script uses common targets to
generate Matter Data Model ZAP and Code from zap_regen_all.py,
located in the Matter SDK. This approach allows reusing of a
common script to generate the whole Data Model and append a
newly created cluster.
Signed-off-by: Arkadiusz Balys <[email protected]>
Restyled by isort
# It generates "AttributeIds.h/cpp", "EventIds.h", "CommandIds.h" files for each cluster.
123
+
# It generates also BUILD.gn files that are used to configure build system.
124
+
#
125
+
# Currently, we must call JinjaCodegenTarget twice:
126
+
# - for all clusters using controller-clusters.matter file to generate all clusters defined in the Matter spec.
127
+
# - for the sample's .matter file to generate the new data model files that are not defined in the Matter spec.
128
+
#
129
+
# To generate the full data model files, we utilizes classes defined in the matter/scripts/tools/zap_regen_all.py file.
130
+
# These classes are supposed to be called from the matter root directory, so we must temporarily change the current working directory to the matter root directory.
0 commit comments