Skip to content

Commit f1bcde8

Browse files
committed
Ensured all NORDIC platforms define P0_{0..30} to match existing p{0..30} in PinNames.h
Change-Id: I8d7ff6fe5ff5377f7ec8d3bc790dde0b0627f072
1 parent 8a9a246 commit f1bcde8

File tree

2 files changed

+38
-0
lines changed
  • targets/TARGET_NORDIC/TARGET_MCU_NRF51822

2 files changed

+38
-0
lines changed

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/PinNames.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,43 @@ typedef enum {
6464
p30 = 30,
6565
p31 = 31,
6666

67+
//NORMAL PINS...
68+
P0_0 = p0,
69+
P0_1 = p1,
70+
P0_2 = p2,
71+
P0_3 = p3,
72+
P0_4 = p4,
73+
P0_5 = p5,
74+
P0_6 = p6,
75+
P0_7 = p7,
76+
77+
P0_8 = p8,
78+
P0_9 = p9,
79+
P0_10 = p10,
80+
P0_11 = p11,
81+
P0_12 = p12,
82+
P0_13 = p13,
83+
P0_14 = p14,
84+
P0_15 = p15,
85+
86+
P0_16 = p16,
87+
P0_17 = p17,
88+
P0_18 = p18,
89+
P0_19 = p19,
90+
P0_20 = p20,
91+
P0_21 = p21,
92+
P0_22 = p22,
93+
P0_23 = p23,
94+
95+
P0_24 = p24,
96+
P0_25 = p25,
97+
P0_26 = p26,
98+
P0_27 = p27,
99+
P0_28 = p28,
100+
P0_29 = p29,
101+
P0_30 = p30,
102+
P0_31 = p31,
103+
67104
LED1 = p4,
68105
LED2 = p5,
69106
LED3 = p6,

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/PinNames.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ typedef enum {
9191
P0_25 = p25,
9292
P0_28 = p28,
9393
P0_29 = p29,
94+
P0_30 = p30,
9495

9596
LED1 = p21,
9697
LED2 = p22,

0 commit comments

Comments
 (0)