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

undeclared identifier TWI0_USE_EASY_DMA error - still occurring

Hi,

I have been receiving the error: undeclared identifier "TWI0_USE_EASY_DMA". I researched and found that the solution was to include "nrf_drv_config.h" and add #define TWI0_ENABLED 1. However, I am still receiving the error. I do get a warning saying: "'TWI0_ENABLED' macro redefined".

I am new to using Keil and I am unsure if I am doing something wrong. I have already fixed a few compiler issues and I'm wondering if that's the case here. Does anyone have input?

Thanks!

Related