You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a board doesn't use all I2C buses, then the I2C module should not try to handle/config all the possible I2C modules in its driver.
A simple solution would be to add a #ifdef guard in port/board/ucontroller/nxp/lpc17_i2c.c where it tries to access I2CX_SCL and I2CX_SDA pins definitions.
The text was updated successfully, but these errors were encountered:
If a board doesn't use all I2C buses, then the I2C module should not try to handle/config all the possible I2C modules in its driver.
A simple solution would be to add a
#ifdef
guard inport/board/ucontroller/nxp/lpc17_i2c.c
where it tries to accessI2CX_SCL
andI2CX_SDA
pins definitions.The text was updated successfully, but these errors were encountered: