Hello,
I use Dave 4.3.2 with a XMC4500 Relax Kit.
On my project I need 2 (two) I2C busses,
So I made 2 instances of I2C MASTER App
But once I Generate code, I have subsequent compiler warnings :
E:/Workspaces/SW V-Sensor/VSensI2C/Dave/Generated/I2C_MASTER/i2c_master_conf.h:69:0: warning: "I2C_MASTER_TX_IRQN" redefined
...
E:/Workspaces/SW V-Sensor/VSensI2C/Dave/Generated/I2C_MASTER/i2c_master_conf.h:70:0: warning: "I2C_MASTER_RX_IRQN" redefined
Attachment 3211
I know these are only warnings, but they are really frightening since these #define are used in Clear Interrupts methods.
I see there is a "Enable multi-master" checkbox in the I2C_MASTER Parameters interface, but it seems useless here.
It really looks like a miss in the template files.
How can I solve the issue ?
Thanks for your support
Jorge
I use Dave 4.3.2 with a XMC4500 Relax Kit.
On my project I need 2 (two) I2C busses,
So I made 2 instances of I2C MASTER App
But once I Generate code, I have subsequent compiler warnings :
E:/Workspaces/SW V-Sensor/VSensI2C/Dave/Generated/I2C_MASTER/i2c_master_conf.h:69:0: warning: "I2C_MASTER_TX_IRQN" redefined
...
E:/Workspaces/SW V-Sensor/VSensI2C/Dave/Generated/I2C_MASTER/i2c_master_conf.h:70:0: warning: "I2C_MASTER_RX_IRQN" redefined
Attachment 3211
I know these are only warnings, but they are really frightening since these #define are used in Clear Interrupts methods.
I see there is a "Enable multi-master" checkbox in the I2C_MASTER Parameters interface, but it seems useless here.
It really looks like a miss in the template files.
How can I solve the issue ?
Thanks for your support
Jorge