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 <[EMAIL PROTECTED]> 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
