From 23b312e3b01b358c441e8dcc3ce1919b68b05690 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 1 Nov 2023 09:47:17 -0400 Subject: [PATCH] Force global attributes in matter files always (since we will codegen based on them) --- scripts/rules.matterlint | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/rules.matterlint b/scripts/rules.matterlint index d0dfeec6450fd5..46ec4e0aa8217d 100644 --- a/scripts/rules.matterlint +++ b/scripts/rules.matterlint @@ -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;