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

document DT macro generation rules #22556

Closed
galak opened this issue Feb 6, 2020 · 1 comment
Closed

document DT macro generation rules #22556

galak opened this issue Feb 6, 2020 · 1 comment
Assignees
Labels
area: Devicetree Enhancement Changes/Updates/Additions to existing features

Comments

@galak
Copy link
Collaborator

galak commented Feb 6, 2020

Add to the 'Generated macros' section of doc/guides/dts/index.rst the rules related to the DT defines we generate.

For example, this should specify the various prefixes we have today INST, ALIAS, COMPAT, ident(compat+unit-addr), etc. It should also cover the various property related defines (things like how we handle various data types, how we handle concepts like cells, aliases, etc.

@galak galak added Enhancement Changes/Updates/Additions to existing features area: Devicetree labels Feb 6, 2020
@galak galak self-assigned this Feb 6, 2020
mbolivar pushed a commit to mbolivar/zephyr that referenced this issue Feb 10, 2020
This really ought to be namespaced better, which kind of depends on
what we do after the rules are laid out following zephyrproject-rtos#22556.

Emit macros for each node's device tree dependency ordinal.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
@galak
Copy link
Collaborator Author

galak commented Feb 19, 2020

Should be handled by #22782

@galak galak closed this as completed Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

1 participant