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

KConfig for nRF52DK

Hello,

I am trying to use the NCS with the nRF52DK and I'm trying to use the SPI.

This is my prj.conf file

CONFIG_SPI=y
CONFIG_SPI_0=y

And this is my .overlay file

&spi0 {
    status = "ok";
    compatible = "nordic,nrf-spi";
    sck-pin = <10>;
    mosi-pin = <11>;
    miso-pin = <12>;
};

However, when I compile it with `west build -p auto` I run into this error: 

warning: attempt to assign the value 'y' to the undefined symbol SPI_0

How can I properly set up and use SPI on nRF52DK? Thanks for the advice.

Related