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

nRF9160 SDK v1.1.0 compilation error in I2C

Hi,

I was using SDK 1.0.0 earlier. 

I ported my code to new SDK v1.0.0. 

But i am getting undeclared macro error as shown in below image 

In prj.conf i have initialized macros for I2C as below 

CONFIG_I2C=y

CONFIG_I2C_NRFX=y
CONFIG_I2C_1=y
CONFIG_I2C_1_NRF_TWIM=y

CONFIG_I2C_2=n
CONFIG_I2C_2_NRF_TWIM=n

Please let me know reason for the issue.

Regards,

Smitesh Mali

Related