lib_i2c V4.0.0 changes? Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
Gothmag
XCore Addict
Posts: 129
Joined: Wed May 11, 2016 3:50 pm

lib_i2c V4.0.0 changes?

Post by Gothmag »

I was just wondering, what was the problem with the I2C slave component? I compared the source files and found no changes, compared the header and don't recall seeing any related to the slave component. So why are the older versions considered unfit? I ask since I use the I2C slave library in a project that is still ongoing.
View Solution
peter
XCore Addict
Posts: 230
Joined: Wed Mar 10, 2010 12:46 pm

Post by peter »

Hi Gothmag,

The commit that fixes the i2c_slave is: https://github.com/xmos/lib_i2c/commit/ ... 6b23d392d7

So, it looks like that made it into the 3.1.6 release which should therefore still be ok to use. Anything prior to 3.1.6 should not be used for slave.

Regards,

Peter
Gothmag
XCore Addict
Posts: 129
Joined: Wed May 11, 2016 3:50 pm

Post by Gothmag »

Thank you for that. I'd made changes to older versions of i2c slave until I found 3.1.6 actually worked out of the box, was a good day, only required changes for using raspberry pi since it has it's own issues.