Colibri iMX6 I2C WEC 2013 Library


I am setting up an I2C peripheral for my Colibri iMX6 development kit, but am confused about the I2C library. I think I should be using the i2c_imx6.h header, but my compilation fails during linking. Is there any additional guidance on how the i2c_imx6 header is used?



Did you set "Project → Properties → Configuration Properties → Linker → Additional Library Directories " path? Also, need to add required library files in “Linker → Input → Additional Dependencies”

Let us know if there are any other problems?

Thank you! The key was adding I2cLib.lib to my additional dependencies list.