Hello,
In my NXP MBDT model, I'm using two I2C config block which is I2C-Channel 0 and I2C-Channel 1 for a particular application, Now while I'm generating the code it show the error of 'redefinition of the LPI2C config function' . How can I solve it
Best regards,
Peter
Hello,
To resolve the redefinition of the LPI2C config function error in your NXP MBDT model, ensure that you have distinct and unique function names for configuring I2C-Channel 0 and I2C-Channel 1. Avoid using the same function name for both configurations. This will prevent the compiler from encountering a naming conflict, allowing you to generate the code without errors.