From 86360f73d4e3a120c7d8fe43a080182848d169b6 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 7 Oct 2019 14:30:36 +0200 Subject: [PATCH] boards/nucleo32: fix arduino pinmap for nucleo-l432kc --- boards/common/nucleo32/include/arduino_pinmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/common/nucleo32/include/arduino_pinmap.h b/boards/common/nucleo32/include/arduino_pinmap.h index 16d77ce757..c8720dcad7 100644 --- a/boards/common/nucleo32/include/arduino_pinmap.h +++ b/boards/common/nucleo32/include/arduino_pinmap.h @@ -39,7 +39,7 @@ extern "C" { #define ARDUINO_PIN_4 GPIO_PIN(PORT_B, 7) #define ARDUINO_PIN_5 GPIO_PIN(PORT_B, 6) #define ARDUINO_PIN_6 GPIO_PIN(PORT_B, 1) -#if defined(CPU_MODEL_STM32L031K6) +#if defined(CPU_MODEL_STM32L031K6) || defined(CPU_MODEL_STM32L432KC) #define ARDUINO_PIN_7 GPIO_PIN(PORT_C, 14) #define ARDUINO_PIN_8 GPIO_PIN(PORT_C, 15) #else