Fix handling of global enums in ZAP templates.#38733
Merged
mergify[bot] merged 1 commit intoMay 5, 2025
Merged
Conversation
We were passing in different information for the enum declaration and the cast to the enum type that initializes it. Should be passing the same information.
|
PR #38733: Size comparison from 0623029 to f897b14 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
andy31415
approved these changes
May 3, 2025
cecille
approved these changes
May 3, 2025
Contributor
cecille
left a comment
There was a problem hiding this comment.
This seems correct, but does zap need to be updated for this to work?
Contributor
Author
Yes, that's project-chip/zap#1593 |
kiel-apple
approved these changes
May 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We were passing in different information for the enum declaration and the cast to the enum type that initializes it. Should be passing the same information.
Testing
Checked that with the ZAP updates in project-chip/zap#1593 this does the right thing for enums/bitmaps.