This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

undefined reference to `nrf_drv_spi_init'

Hi, im using NRF52832 whit SDK 12.3.0, when i compile this error appear, "undefined reference to `nrf_drv_spi_init",  i included the   "nrf_drv_spi.h" file.

also try to include the "nrf_drv_spi.c" file and move the files to the project folder.

the structures defined in  "nrf_drv_spi.h" dont cause problems in the compilation.

this is how i write the functoin

 nrf_drv_spi_init(&Spi_Soc,&configuracionSPI,spi_event_handler,NULL);

 

regards.


 
 

Related