mirror of https://github.com/ARMmbed/mbed-os.git
Wallbot: update wallbot to use standard I2C definitions
Unlike other Nordic platforms, the wallbot doesn't use numbered I2C ports. This makes it difficult to refer to a platforms's I2C pins from common code. This fix leaves the original wallbot definitions, but adds the more 'standard' ones too. Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>pull/1267/head
parent
9b9bab51e5
commit
e50305122d
|
@ -158,6 +158,9 @@ typedef enum {
|
|||
I2C_SCL = P0_21,
|
||||
I2C_SDA = P0_22,
|
||||
|
||||
I2C_SCL0 = P0_21, //required definition for the i2c patch
|
||||
I2C_SDA0 = P0_22, //required definition for the i2c patch
|
||||
|
||||
// Not connected
|
||||
NC = (int)0xFFFFFFFF
|
||||
|
||||
|
|
Loading…
Reference in New Issue