From: Pavel K. <pkr...@ya...> - 2008-06-28 05:32:44
|
Hello, 1) I2C headers When I compile robostix and i2c I can find i2c.h, i2c-dev.h in: ~/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include/linux/... ~/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/robostix-1.0-r0/robostix/Shared/... And i2c-api.h, i2c-dev.h, i2c-io-api.h in: ~/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/robostix-1.0-r0/robostix/gumstix/Common/... ~/gumstix/gumstix-oe/tmp/tmp/work/armv5te-angstrom-linux-gnueabi/i2c-1.0-r2/... Which folder should I use for i2c development? I mean what is the best way. It seems most of the headers go into ~/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include/linux/... but i2c.h and i2c-dev.h contain only structs and defs no functions at all. Sigh... 2) Are there any special requirements for writing makefiles so they can be used with BitBake? With regards, Pavel Krupets |