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

error: #20: identifier "NRF_SPIS0" is undefined

Hi,

After configuring the nRF51422 as a SPIS slave 0, we get the following error when trying to create the slave instance:

static const nrf_drv_spis_t spis = NRF_DRV_SPIS_INSTANCE(SPIS0_INSTANCE_INDEX); /**< SPI instance. */

......\m_SPI_MIDI.c(39): error: #20: identifier "NRF_SPIS0" is undefined static const nrf_drv_spis_t spis = RF_DRV_SPIS_INSTANCE(SPIS0_INSTANCE_INDEX); /**< SPI instance. */

Any idea why "NRF_SPIS0" is undefined?

Thanks,

Fred

Related