--- In [email protected], "Stéphane Herraiz" <[EMAIL PROTECTED]> wrote: > > Hi, > I can not compile my i2c test program using writeread function. > My program include <asm/etraxi2c.h>. > When I check on ../devboard/target/cris-axis-linux-gnu/include/asm I see the > old etraxi2c.h...!? > I think I'm not pointing on the good one. > What I'm doing wrong? > > Thank you in advance > > -- > Stéphane Herraiz >
Hi Stephane, This is a small "problem" in the make mechanism. You have to manually change the file "etraxi2c.h" in ./devboard-R2_01/target/cris-axis-linux-gnu/include/asm with the one from the real Linux tree in ./devboard-R2_01/os/linux/include (put the original one in ./target/cris-axis-linux-gnu/include/asm aside for safety, I would suggest...). Can you try this and see what it gives? There's also a small article" about this on my Wiki pages: http://www.gevawebsolutions.com/Wiki/index.php?title=Acme_-_Phrozen_SDK#Make_process (see section "IMPORTANT"...). Hope this helps. Best rgds, --Geert
