Skip to content

Commit

Permalink
Updated comments a bit about controller-clusters.zap
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed May 31, 2023
1 parent d496a75 commit 60bde26
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/tools/zap/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')


Expand Down

0 comments on commit 60bde26

Please sign in to comment.