...and for the other I2c.c and i2c.h, they have to be updated too with the
version
include in the "newi2cdriver.rar" file?
Thanks

2007/6/26, Geert Vancompernolle <[EMAIL PROTECTED]>:

  --- In [email protected] <foxboard%40yahoogroups.com>, "Stéphane
Herraiz"
<[EMAIL PROTECTED]> wrote:
>
> Hi
> First thank you to your kick response.
> I don't have the new file etraxi2c.h file in
./devboard-R2_01/os/linux-2.6
> /include/asm/
> It is normal?
> Do I need to change to the new one finded on yahoo groups files?
> I'm trying to understand but I'm lost...
> Thanks
>

Indeed, to compile the I2C kernel module, you must have the new
version of the etraxi2c.h in the location you pointed out. You can
find that header file in the "newi2cdriver.rar" file I've posted here:
http://tech.groups.yahoo.com/group/foxboard/files/GeertVc

But when you create a testapp where you want to apply the I2C
functionality, you also need the same file in
./devboard-R2_01/target/cris-axis-linux-gnu/include/asm too.

In the .rar file I mentioned above, there's also an example
application using the I2C driver. Pls. have a look at this one too...

This should solve your compilation problem, I guess. Give it a try...

Best rgds,

--Geert




--
Stéphane Herraiz

Reply via email to