| { |
| "name": "CHIP Application Common templates", |
| "version": "chip-v1", |
| "helpers": [ |
| "partials/helper.js", |
| "common/StringHelper.js", |
| "common/attributes/Accessors.js", |
| "templates/app/helper.js", |
| "templates/chip/helper.js" |
| ], |
| "resources": { |
| "config-data": "config-data.yaml" |
| }, |
| "override": "../../zap-templates/common/override.js", |
| "partials": [ |
| { |
| "name": "header", |
| "path": "../../zap-templates/partials/header.zapt" |
| }, |
| { |
| "name": "cluster_objects_struct", |
| "path": "../../zap-templates/partials/cluster-objects-struct.zapt" |
| }, |
| { |
| "name": "cluster_enums_enum", |
| "path": "../../zap-templates/partials/cluster-enums-enum.zapt" |
| }, |
| { |
| "name": "cluster_enums_ensure_known_value", |
| "path": "../../zap-templates/partials/cluster-enums-ensure-known-value.zapt" |
| }, |
| { |
| "name": "cluster_objects_field_init", |
| "path": "../../zap-templates/partials/cluster-objects-field-init.zapt" |
| }, |
| { |
| "name": "cluster_objects_attribute_typeinfo", |
| "path": "../../zap-templates/partials/cluster-objects-attribute-typeinfo.zapt" |
| } |
| ], |
| "templates": [ |
| { |
| "path": "../../zap-templates/templates/app/attribute-type.h.zapt", |
| "name": "ZCL attribute-type header", |
| "output": "attribute-type.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/callback.h.zapt", |
| "name": "ZCL callback header", |
| "output": "callback.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/attributes/Accessors.h.zapt", |
| "name": "Attributes Accessors header", |
| "output": "attributes/Accessors.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/attributes/Accessors.cpp.zapt", |
| "name": "Attributes Accessors", |
| "output": "attributes/Accessors.cpp" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/ids/Attributes.h.zapt", |
| "name": "Attributes Ids header", |
| "output": "ids/Attributes.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/ids/Clusters.h.zapt", |
| "name": "Clusters Ids header", |
| "output": "ids/Clusters.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/ids/Commands.h.zapt", |
| "name": "Commands Ids header", |
| "output": "ids/Commands.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/ids/Events.h.zapt", |
| "name": "Events Ids header", |
| "output": "ids/Events.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/cluster-objects.h.zapt", |
| "name": "Cluster objects header for Interaction Model", |
| "output": "cluster-objects.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/cluster-objects.cpp.zapt", |
| "name": "Cluster objects source for Interaction Model", |
| "output": "cluster-objects.cpp" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/cluster-enums.h.zapt", |
| "name": "Enum and bitmap header for clusters", |
| "output": "cluster-enums.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/cluster-enums-check.h.zapt", |
| "name": "Enum and bitmap method check header for clusters", |
| "output": "cluster-enums-check.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-shared-Enums.h.zapt", |
| "name": "Shared enumerations header", |
| "output": "../../clusters/shared/Enums.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-shared-Enums-Check.h.zapt", |
| "name": "Shared enumeration check header", |
| "output": "../../clusters/shared/EnumsCheck.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-shared-Structs.h.zapt", |
| "name": "Shared/global structures", |
| "output": "../../clusters/shared/Structs.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-shared-Structs.ipp.zapt", |
| "name": "Shared/global structures", |
| "output": "../../clusters/shared/Structs.ipp" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-shared-Attributes.h.zapt", |
| "name": "Shared/global structures", |
| "output": "../../clusters/shared/Attributes.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-shared-Global-Ids.h.zapt", |
| "name": "Shared global ids", |
| "output": "../../clusters/shared/GlobalIds.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Attributes.h.zapt", |
| "name": "Cluster-specific attribute declarations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Attributes.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Events.h.zapt", |
| "name": "Cluster-specific event declarations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Events.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Events.ipp.zapt", |
| "name": "Cluster-specific event implementations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Events.ipp" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Structs.h.zapt", |
| "name": "Cluster-specific structure declarations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Structs.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Structs.ipp.zapt", |
| "name": "Cluster-specific structure implementations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Structs.ipp" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Attributes.ipp.zapt", |
| "name": "Cluster-specific attributes implementations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Attributes.ipp" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Commands.h.zapt", |
| "name": "Cluster-specific command declarations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Commands.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Commands.ipp.zapt", |
| "name": "Cluster-specific command implementations", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Commands.ipp" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Enums.h.zapt", |
| "name": "Cluster-specific enumerations header", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/Enums.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/clusters-Enums-Check.h.zapt", |
| "name": "Cluster-specific enumerations header", |
| "iterator": "availableCluster", |
| "output": "../../clusters/{name:touppercamelcase}/EnumsCheck.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/devices-Ids.h.zapt", |
| "name": "Device type ids", |
| "output": "../../devices/Ids.h" |
| }, |
| { |
| "path": "../../zap-templates/templates/app/devices-Types.h.zapt", |
| "name": "Device type definitions", |
| "output": "../../devices/Types.h" |
| } |
| ] |
| } |