Skip to content

dts: enum_macros: make sure that they are lowercase #89212

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

Merged

Conversation

maass-hamburg
Copy link
Collaborator

@maass-hamburg maass-hamburg commented Apr 28, 2025

DT_ENUM_HAS_VALUE_BY_IDX states, that the value
must be lowercase-and-underscores, this makes sure,
that they can match.

fixes: #89213

DT_ENUM_HAS_VALUE_BY_IDX states, that the value
must be lowercase-and-underscores, this makes sure,
that they can match.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
@maass-hamburg
Copy link
Collaborator Author

@dleach02 @mmahadevan108 I saw that in your hal that you are using some *_ENUM_HAS_VALUE with an uppercase value

@maass-hamburg maass-hamburg requested a review from mbolivar April 29, 2025 15:31
@maass-hamburg
Copy link
Collaborator Author

@mbolivar ping

@kartben
Copy link
Collaborator

kartben commented May 28, 2025

re-assigning to active DT collaborators as @mbolivar seems to be AWOL

@kartben kartben merged commit f715301 into zephyrproject-rtos:main May 28, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dts: DT_ENUM_HAS_VALUE_BY_IDX don't use lowercase value
6 participants