Hi,
really new to the Zephyr stuff and Nordic micros. I've been through the dev academy training examples and get how to use GPIO and I2C by getting a pointer to a device structure from the dts file.
But I just cannot work out how to do the same for an spi device!
I have used the same method as the GPIO and LED devices but get errors when I try to get a pointer to the spi device struct....
main.c
in the nrf52840dk_nrf52840 dts file spi0 is defined as...