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
James Devine 2015-07-21 13:20:04 +01:00
parent 9b9bab51e5
commit e50305122d
1 changed files with 3 additions and 0 deletions

View File

@ -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