Skip to content

Commit f6ecef8

Browse files
committed
[Nucleo-L432KC] Fix pin mapping
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 4d2226b commit f6ecef8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: variants/NUCLEO_L432KC/variant.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const PinName digitalPin[] = {
3131
PB_7, //D4
3232
PB_6, //D5
3333
PB_1, //D6
34-
PC_15, //D7 - By default, SB8 open PF1/PC15 not connected to D7
35-
PC_14, //D8 - By default, SB6 open PF0/PC14 not connected to D8
34+
PC_14, //D7 - By default, SB6 open PF0/PC14 not connected to D7
35+
PC_15, //D8 - By default, SB8 open PF1/PC15 not connected to D8
3636
PA_8, //D9
3737
PA_11, //D10
3838
PB_5, //D11

Diff for: variants/NUCLEO_L432KC/variant.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ extern const PinName digitalPin[];
4040
#define PB7 4
4141
#define PB6 5
4242
#define PB1 6
43-
#define PC15 7 // By default, SB8 open PF1/PC15 not connected to D7
44-
#define PC14 8 // By default, SB6 open PF0/PC14 not connected to D8
43+
#define PC14 7 // By default, SB6 open PF0/PC14 not connected to D7
44+
#define PC15 8 // By default, SB8 open PF1/PC15 not connected to D8
4545
#define PA8 9
4646
#define PA11 10
4747
#define PB5 11

0 commit comments

Comments
 (0)