Skip to content

Commit 61a0f59

Browse files
committed
add I2C pins name to Arch and Arch Pro
1 parent 055cd7b commit 61a0f59

File tree

2 files changed

+9
-0
lines changed
  • libraries/mbed/targets/hal/TARGET_NXP

2 files changed

+9
-0
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PinNames.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,19 @@ typedef enum {
151151
D12 = P0_8,
152152
D13 = P1_29, // P0_9 for Arch V1.0
153153

154+
D14 = P0_5,
155+
D15 = P0_4,
156+
154157
A0 = P0_11,
155158
A1 = P0_12,
156159
A2 = P0_13,
157160
A3 = P0_14,
158161
A4 = P0_16,
159162
A5 = P0_22,
160163

164+
I2C_SCL = D15,
165+
I2C_SDA = D14,
166+
161167
// Not connected
162168
NC = (int)0xFFFFFFFF,
163169
} PinName;

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ typedef enum {
106106
A4 = P1_30,
107107
A5 = P1_31,
108108

109+
I2C_SCL = D15,
110+
I2C_SDA = D14,
111+
109112
// Not connected
110113
NC = (int)0xFFFFFFFF
111114
} PinName;

0 commit comments

Comments
 (0)