Hello, this will be a bit of a long-winded explanation but here goes: I'm building an SPI driver that reads data from an external ADC and writes to a PWM signal. I got the PWM part of the code working with the example code 'pwm_library' and got the SPI driver working with the 'spi' example code. However, the two projects still existed independently of one another, so I copy and pasted my SPI driver code to my PWM project, (including the include files). I have been troubleshooting for a few hours now and reduced my errors down to a handful:
All of the errors seem to be originating from inside the "nrf_drv_spi.h" file. Any idea why this might be happening? I wasn't getting any errors in the spi driver example and as far as I can see they're configured the same way.