Date
1 - 2 of 2
How to access the child nodes in a device tree (DTS) in Zephyr using DT_FOREACH_CHILD #dts #nrf52
unsunk.ship@...
|
|
unsunk.ship@...
Hi,
I originally posted this question to stackoverflow [^] so I think its better not to duplicate the whole story here. Supposing I have a DTS file with a content like this one below:
And a structure like here below:
How can I use macro DT_FOREACH_CHILD for populating an array with one item for each child of node detectors?I tried this code below but, yet it compiled, the results where not what I wanted.
BR. |
|