Skip to content

I2C driver initialization must consider if the pin was defined as I2C #101

@henrique-silva

Description

@henrique-silva

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions