Hi there, I am trying to access a TWI device using the TWIM driver.
I have done the following in sdk_config.h:
#define NRFX_TWIM_ENABLED 1
#define NRFX_TWIM0_ENABLED 1
#define TWI_ENABLED 1
#define TWI0_ENABLED 1
#define TWI0_USE_EASY_DMA 1
and included these files:
However I encounter the following error:
nrf_drv_twi.c:184: undefined reference to `nrfx_twim_init' nrf_drv_twi.h:516: undefined reference to `nrfx_twim_enable'
I'm using SDK v17.
Can someone please help?