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

#35: #error directive: "Wrong configuration." Enabling TWI

Hello,

I received the above error using NRF5 SDK 12.2. I have modified "nrf_drv_config.h" so that it reads #define TWI0_ENABLED 1. Also, I put #include "nrf_drv_config.h" at the top of all my files which use "nrf_drv_twi" where the error occurs.

I am not sure what to do now as the error still occurs.

Thank you,

Levi

Parents Reply Children
No Data
Related