Skip to content

Commit

Permalink
Force global attributes in matter files always (since we will codegen…
Browse files Browse the repository at this point in the history
… based on them)
  • Loading branch information
andy31415 committed Nov 1, 2023
1 parent d179bc3 commit 23b312e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/rules.matterlint
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,10 @@ load "../src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.x
load "../src/app/zap-templates/zcl/data-model/chip/sample-mei-cluster.xml";

all endpoints {
// These attributes follow a different code path and do not have to be
// present in the .matter file
//
// require global attribute generatedCommandList = 65528;
// require global attribute acceptedCommandList = 65529;
// require global attribute attributeList = 65531;
// These attributes follow separate code paths, but should always be present in matter files:
require global attribute generatedCommandList = 65528;
require global attribute acceptedCommandList = 65529;
require global attribute attributeList = 65531;

require global attribute featureMap = 65532;
require global attribute clusterRevision = 65533;
Expand Down

0 comments on commit 23b312e

Please sign in to comment.