I'm trying to include the SPI driver in my project.
I have added the .c file into my project:
I have included the path into the project:
I have enabled the SPI:
I have double checked that ENABLED_SPI_COUNT was defined in the .h file:
However I still see everything greyed out in the .c file and get "Output/ble_app_uart_pca10040_s132 Debug/Obj/main.o: In function `spi_init':" error and undefined reference to everything related to spi.
I'm using Segger Embbeded Studios, NRF52832, s132, windows 10.
I'm at a complete loss. I have no idea what else I'm missing. Help!