[ECOS] I2C Driver not initializing

Alexandre thekyz@gmail.com
Tue Sep 11 16:04:00 GMT 2007

Ok that was the problem, the i2c file was rejected by the linker and
not included in the code since considered unused, it works now ...

I feel shame ^^

Thanks a lot Andrew, as usual :)

On 9/11/07, Andrew Lunn <andrew@lunn.ch> wrote:
> > Well even the generic I2C driver code is not initialized so I think I
> > made a mistake by forgetting something or misunderstanding the whole
> > concept ^^
> Do you call any I2C function? If nothing is using I2C it will all get
> throw out by the linker.
> Take a look at the functions which are actually in your
> image.
> arm-elf-objdump --syms myprog
> Is the i2c code there?
>    Andrew

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list