1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 18:43:50 +01:00

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.
This commit is contained in:
Gunar Schorcht 2025-08-18 09:24:10 +02:00
parent 6bc840e515
commit 8f903b3291

View File

@ -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)