Replies: 1 comment
-
your code does not match the example code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Objective : I want access the devicetree setting of a list of gpio and make it into gpio_spec_dt array.
So I tried the example code from Devicetree API Document, and write a simple code to test if it actually et all the devicetree config into gpio_spec, and then the error raise
this error raise reguardless I replace the macro to DT_FOREACH_PROP_ELEM or GPIO_DT_SPEC_GET.
Files
main.c
app.overlay
dts/bindings/my,sfp-leds.yaml
Regression
Steps to reproduce
No response
Relevant log output
Impact
Major – Severely degrades functionality; workaround is difficult or unavailable.
Environment
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions