8000 Exclude Features with Disallowed Conformance from Bitmaps by ethanzhouyc · Pull Request #1524 · project-chip/zap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Exclude Features with Disallowed Conformance from Bitmaps #1524

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

Closed
wants to merge 2 commits into from

Conversation

ethanzhouyc
Copy link
Collaborator
@ethanzhouyc ethanzhouyc commented Feb 12, 2025
      <!-- TODO: ZAP still generates feature bits for things with disallowConform! -->
      <feature bit="0" code="DEPONOFF" name="OnOff" summary="Dependency with the OnOff cluster is disallowed for this cluster">
        <disallowConform/>
      </feature>

With this PR, the OnOff feature will no longer be added to bitmaps in codegen when the above XML configuration is applied.

@ethanzhouyc
Copy link
Collaborator Author
ethanzhouyc commented Feb 12, 2025

This PR fails the Matter codegen CI because it removes disallowed features from bitmaps in codegen, requiring the CHIP repository to be updated by re-running codegen.

@ethanzhouyc
Copy link
Collaborator Author
ethanzhouyc commented Feb 14, 2025

Closing this PR for now as the plan is to add warnings for disallowed features instead of removing them from bitmaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0