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
scripts: extract_dts_includes: fails on multiple includes in yaml bindings file #7067
Comments
@erwango can you look into this issue. |
@b0661 : In order to solve this is a coherent way, do you have any example of use for multiple bindings inclusion? |
I tried to model STM32 RCC by combining a clock-provider.yaml and clock-consumer.yaml binding. The node type of the RCC would be both in this case. My suggestion is to make the 'node_type' node property a list. I have a working example available. Sorry no pull request yet.
Clock consumer
Clock provider
|
@b0661 : Is that ok if we set this ticket as 'enhancement' instead of 'bug'? (Medium priority 'bug' issues are blocking for upcoming release) |
Yes, shure it is ok to set it to 'enhancement'. |
Correctly process multiple include files given to the !include command of the YAML loader. The fix only targets the sequential definition of include files. Fixes zephyrproject-rtos#7067 Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
Correctly process multiple include files given to the !include command of the YAML loader. The fix only targets the sequential definition of include files. Fixes #7067 Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
Inheriting from multiple bindings fails.
Following the above the 'node_type' node property does not account for multiple base types.
Loader.include for yaml.SequenceNode and yaml_traverse_inherited seems to be broken.
The text was updated successfully, but these errors were encountered: