Cant get pntrl-o phandle to check what pins spi have.

#define SPI2_PINCTRL_DEFAULT DT_PHANDLE_BY_IDX(DT_NODELABEL(spi2), pinctrl_0, 0)
this line doesnt compile. with this error:

why would it not work? 

Parents Reply Children
No Data
Related