Skip to content

Commit b97938d

Browse files
committed
Merge pull request #548 from Cheong2K/master
HAL: BLE Nano - pin corrections for the BLE Nano board (D0-D7)
2 parents 6d16000 + 68f9b5e commit b97938d

File tree

1 file changed

+9
-34
lines changed
  • libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO

1 file changed

+9
-34
lines changed

libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/PinNames.h

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,8 @@ typedef enum {
9898
P0_29 = p29,
9999
P0_30 = p30,
100100

101-
LED = p19
101+
LED = p19,
102102
LED1 = p19,
103-
// LED2 = p19,
104-
// LED3 = p19,
105-
// LED4 = p19,
106-
107-
// BUTTON1 = p16,
108-
// BUTTON2 = p17,
109103

110104
RX_PIN_NUMBER = p11,
111105
TX_PIN_NUMBER = p9,
@@ -134,36 +128,17 @@ typedef enum {
134128
I2C_SDA0 = p10,
135129
I2C_SCL0 = p8,
136130

137-
/*
138-
I2C_SDA1 = p13,
139-
I2C_SCL1 = p15,
140-
*/
141-
142-
D0 = p9,
143-
D1 = p11,
144-
D2 = p8,
145-
D3 = p10,
146-
// D4 = p,
147-
D5 = p7,
131+
D0 = p11,
132+
D1 = p9,
133+
D2 = p10,
134+
D3 = p8,
135+
D4 = p28,
136+
D5 = p29,
148137
D6 = p15,
149-
D7 = p29,
150-
151-
D8 = p28,
152-
/*
153-
D9 = p18,
154-
D10 = p14,
155-
D11 = p12,
156-
D12 = p13,
157-
*/
138+
D7 = p7,
139+
158140
D13 = p19,
159-
/*
160-
D14 = p29, // I2C - SDA
161-
D15 = p28, // I2C - SCL
162141

163-
D16 = p25, // SPI - SCK
164-
D17 = p22, // SPI - MISO
165-
D18 = p20, // SPI - MOSI
166-
*/
167142
A0 = p1,
168143
A1 = p2,
169144
A2 = p3,

0 commit comments

Comments
 (0)