From 60bde26ed18a3263d29ccbd68c07f4225d323a15 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 31 May 2023 09:19:33 -0400 Subject: [PATCH] Updated comments a bit about controller-clusters.zap --- scripts/tools/zap/generate.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/tools/zap/generate.py b/scripts/tools/zap/generate.py index 526a0685cb6a1f..7212a9d76c20f4 100755 --- a/scripts/tools/zap/generate.py +++ b/scripts/tools/zap/generate.py @@ -223,8 +223,16 @@ def runGeneration(cmdLineArgs): extractGeneratedIdl(output_dir, zap_file) else: # without a zap file, assume we process controller-clusters + # + # The reason for having a zap file name is that the ".matter" file name is implied + # from the zap file name and we still need to generate `controller-clusters.matter` + # # TODO: this hardcoding maybe can be extracted in some other way # like taking it as an argument where to process the IDL + # + # TODO: controller-clusters.zap should eventually be deleted and so should + # controller-clusters.matter (or replaced with an equivalent of "import XML" + # statements) extractGeneratedIdl(output_dir, 'src/controller/data_model/controller-clusters.zap')