From 8f903b3291a69322c85f098c23ee8045d0e02cb4 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Mon, 18 Aug 2025 09:24:10 +0200 Subject: [PATCH] boards/common/nucleo144: fix Arduino D14/D15 (I2C) pin config According to user manuals the pin configuration for Arduino pins D14/D15 is PB9/PB8. The configuration was mixed up. Furthermore, I2C_DEV(1) is configured correclty with SDA=PB9 and SCL=PB8 that have to be mapped to Arduino pins D14=SDA and D15=SCL, respectively, to be compatibly with Arduino shields. --- boards/common/nucleo144/include/arduino_iomap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/common/nucleo144/include/arduino_iomap.h b/boards/common/nucleo144/include/arduino_iomap.h index b12a46f4b7..b7cbb67301 100644 --- a/boards/common/nucleo144/include/arduino_iomap.h +++ b/boards/common/nucleo144/include/arduino_iomap.h @@ -56,8 +56,8 @@ extern "C" { #define ARDUINO_PIN_12 GPIO_PIN(PORT_A, 6) #define ARDUINO_PIN_13 GPIO_PIN(PORT_A, 5) -#define ARDUINO_PIN_14 GPIO_PIN(PORT_B, 8) -#define ARDUINO_PIN_15 GPIO_PIN(PORT_B, 9) +#define ARDUINO_PIN_14 GPIO_PIN(PORT_B, 9) +#define ARDUINO_PIN_15 GPIO_PIN(PORT_B, 8) #define ARDUINO_PIN_16 GPIO_PIN(PORT_A, 3) #define ARDUINO_PIN_17 GPIO_PIN(PORT_C, 0)