Hi feiwu,
Thanks for your answer.
But it doesn't work. The Linux I2C Driver from Microtronix will get two I2C Modules? i think the must be named like i2c_0 and i2c_1 ????
But in the nios2_system.h the are renamed to:
# define na_i2c_0_avalonS 0x821208c0# define na_i2c_0_avalonS_irq 5# define na_i2c_0_ahbS 0x80000000# define na_i2c_1_avalonS 0x821208e0# define na_i2c_1_avalonS_irq 7# define na_i2c_1_ahbS 0x80000000
Is this right? I get the same error as above. Why is there the _avalonS added and who add it? The Kernel Build process?
I'm a little confused..
Thanx
Marco