melta101
melta101
DIIDevHeads IoT Integration Server
Created by melta101 on 12/23/2024 in #📦-middleware-and-os
How to Configure DTS and Struct for SPI Controller Driver with Child Nodes in Zephyr?
lets take the above example reg -> array interupt -> array but as what type, do we define those child nodes? i was thinking of passing it as array itself but those would mean instead of spi1_device0: spi-device@0 { reg = <0>; spi-max-frequency = <1000000>; spi-cs-delay = <5>; word_length = <8> }; it would be become spi1_device0:spi-device@0 = <0 100000 5 8>
19 replies