I tried to add spi driver to existing BLE project but I've got this error:
../nRF5_SDK_current/integration/nrfx/legacy/nrf_drv_spi.h:120:37: error: 'NRF_DRV_SPI_INSTANCE_0' undeclared here (not in a function); did you mean 'NRF_DRV_SPI_INSTANCE_'?
I tried to add spi driver to existing BLE project but I've got this error:
../nRF5_SDK_current/integration/nrfx/legacy/nrf_drv_spi.h:120:37: error: 'NRF_DRV_SPI_INSTANCE_0' undeclared here (not in a function); did you mean 'NRF_DRV_SPI_INSTANCE_'?
Fixed by enabling SPI0 INSTANCE
by now I've got another error:
in function `nrf_drv_spi_init':
nRF5_SDK_Current\integration\nrfx\legacy/nrf_drv_spi.c:121: undefined reference to `nrfx_spim_init'
Fixed by enabling SPI0 INSTANCE
by now I've got another error:
in function `nrf_drv_spi_init':
nRF5_SDK_Current\integration\nrfx\legacy/nrf_drv_spi.c:121: undefined reference to `nrfx_spim_init'