Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add '#define EMBER_AF_PLUGIN_{{clusterName}}' and related to src/app/… #3872

Merged
merged 1 commit into from
Nov 17, 2020

Conversation

vivien-apple
Copy link
Contributor

…zap-templates/gen_config.h

Problem

#3464 get rids of most of the #define from gen/gen_config.h. That's a nice cleanup but some of them are still required in order to build properly. Notably the one that are related to Plugins.

I have not found a good way to define EMBER_AF_PLUGIN_REPORTING conditionaly. I have opened #3871 for it.

Summary of Changes

  • Add EMBER_AF_PLUGIN_* macro generations to src/app/zap-templates/gen_config.zapt

Fixes #3627

/**** Cluster Plugins ****/
{{#all_user_clusters}}

// Use this macro to check if {{side}} plugin {{name}} is included
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "to check if the {{side}} side of the {{name}} cluster is included"? At some point we're going to want to change the "plugin" naming to something else, possibly....

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "to check if the {{side}} side of the {{name}} cluster is included"? At some point we're going to want to change the "plugin" naming to something else, possibly....

Done.

Also I have not bothered changing the name yet but I agree with you. Plugin does not makes sense in our context.

@vivien-apple vivien-apple reopened this Nov 17, 2020
@rwalker-apple rwalker-apple merged commit bd7d709 into project-chip:master Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZCL Cleanup Plugin Macro
5 participants