Re: issues with devicetree in 2.2
Bolivar, Marti
"Trevor Clarke via lists.zephyrproject.org"
<pythonpimp=gmail.com@lists.zephyrproject.org> writes: 'm using Zephyr 2.2 for stm32 through platformio. I'm trying to use theIn the zephyr master branch, it would be DT_LABEL(MIDI_DEV). https://docs.zephyrproject.org/latest/guides/dts/howtos.html#get-a-struct-device-from-a-devicetree-node However: this won't work in 2.2. This new DT API is only in the master branch, not Zephyr 2.2. Since you're on 2.2, use the old API: https://docs.zephyrproject.org/2.2.0/guides/dts/index.html HTH, Marti
|
|