<div dir="ltr">Is the ARM Zync BSP using the new i2c API?<div>I was looking through the BSP and did not see how it is initialized. </div><div><br></div><div>Also, the current libi2c supports SPI. Does anyone see a problem with using libi2c for SPI and the new i2c API for i2c?</div><div><br></div><div>Finally, will new i2c drivers go in libchip, or in cpukit/dev ?</div><div><br></div><div>Thanks,</div><div>Alan</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 7:41 PM, Andre Marques <span dir="ltr"><<a href="mailto:andre.lousa.marques@gmail.com" target="_blank">andre.lousa.marques@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 12/10/14 22:36, Chris Johns wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11/12/2014 5:27 am, Alan Cudmore wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Andre,<br>
Thanks for submitting this. I think we need one minor change:<br>
Could you remove the include and the call to init the mcp23008 driver?<br>
<br>
After your code is in the tree, I will propose a patch to allow<br>
execution of application specific driver init functions that can be<br>
called from the BSP i2c and SPI driver init functions.<br>
</blockquote>
<br>
Is the I2C code for the new I2C API or the old one ?<br>
<br>
Chris<br>
</blockquote>
<br></div></div>
It still uses the old API (libi2c) for both i2c and spi.<br>
<br>
--André Marques<br>
</blockquote></div></div></div>