Skip to content

Commit 4a2ace9

Browse files
gorazdadbridge
authored andcommitted
ff_lpc546xx: change led1 and led3 and p26 pins
1 parent f07c985 commit 4a2ace9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC546XX/TARGET_FF_LPC546XX/PeripheralPins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ const PinMap PinMap_PWM[] = {
120120
{P0_19 , PWM_3, 4},
121121
{P0_22 , PWM_4, 4},
122122
{P0_28 , PWM_8, 4},
123-
{P0_29 , PWM_9, 4},
123+
{P1_31 , PWM_7, 4},
124124
{NC , NC, 0}
125125
};

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC546XX/TARGET_FF_LPC546XX/PinNames.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ typedef enum {
183183

184184

185185
// mbed original LED naming
186-
LED1 = P0_13,
186+
LED1 = P1_3,
187187
LED2 = P1_27,
188-
LED3 = P0_14,
188+
LED3 = P1_26,
189189
LED4 = P1_28,
190190

191191

@@ -223,7 +223,7 @@ typedef enum {
223223
p23 = P0_19,
224224
p24 = P0_22,
225225
p25 = P0_28,
226-
p26 = P0_29,
226+
p26 = P1_31,
227227
p27 = P1_30,
228228
p28 = P1_29,
229229
p29 = P0_0,

0 commit comments

Comments
 (0)