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

I2c not visible or loading for V1.5.0

I have a modified asset_tracker that has been running on all of the previous versions of asset_tracker. I have I2C settings in prj.conf as shown below that I copied from each of teh previous releases.

CONFIG_I2C=y
CONFIG_I2C_2=y
#CONFIG_I2C_NRFX=y
#CONFIG_I2C_2_NRF_TWIM=y

these settings were used and I had I2c read and write operations perfectly. I now cannot build the project I get the error message shown below: If I comment out that line I do not have the i2cread and i2cWrite functions anywhere in my project. what am I missing to get I2C to work. most of my peripherals are I2C so my project is non functional if I can not read sensor data. How can I add back teh I2C functions that are essential to this project.

C:/Users/Owner/ncs/v1.5.0/nrf/applications/asset_tracker_v2/prj.conf:156: warning: attempt to assign the value 'y' to the undefined symbol I2C_2

Parents Reply Children
Related