Skip to content

Commit bae14af

Browse files
committed
fix(nucleo_g431k): add missing PinName in digitalPin array
Fixes stm32duino#2400. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 361a7fd commit bae14af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ const PinName digitalPin[] = {
3737
PA_5, // D18/A4 - SB3 ON also connected to PB7
3838
PA_6, // D19/A5 - SB2 ON also connected to PA15
3939
PA_7, // D20/A6
40-
PA_2 // D21/A7 - SB1 ON VCP TX
40+
PA_2, // D21/A7 - SB1 ON VCP TX
41+
PB_3, // D22 - D13 if SB7 OFF SB6 ON
42+
PA_13, // D23 - SWDIO
43+
PA_15 // D24 - SWCLK
4144
};
4245

4346
// Analog (Ax) pin number array

0 commit comments

Comments
 (0)