From ced1323c1cabcd340d0ef93f5df385f6d190af20 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Mon, 17 Jun 2024 10:17:11 +0200 Subject: [PATCH] fix(nucleo_g431k): add missing PinName in digitalPin array Fixes #2400. Signed-off-by: Frederic Pillon --- .../G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.cpp b/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.cpp index b65c00253d..ac293b6e8d 100644 --- a/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.cpp +++ b/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.cpp @@ -37,7 +37,10 @@ const PinName digitalPin[] = { PA_5, // D18/A4 - SB3 ON also connected to PB7 PA_6, // D19/A5 - SB2 ON also connected to PA15 PA_7, // D20/A6 - PA_2 // D21/A7 - SB1 ON VCP TX + PA_2, // D21/A7 - SB1 ON VCP TX + PB_3, // D22 - D13 if SB7 OFF SB6 ON + PA_13, // D23 - SWDIO + PA_15 // D24 - SWCLK }; // Analog (Ax) pin number array