boards/nucleo32: fix arduino pinmap for nucleo-l432kc
This commit is contained in:
parent
8ff09158b0
commit
86360f73d4
@ -39,7 +39,7 @@ extern "C" {
|
|||||||
#define ARDUINO_PIN_4 GPIO_PIN(PORT_B, 7)
|
#define ARDUINO_PIN_4 GPIO_PIN(PORT_B, 7)
|
||||||
#define ARDUINO_PIN_5 GPIO_PIN(PORT_B, 6)
|
#define ARDUINO_PIN_5 GPIO_PIN(PORT_B, 6)
|
||||||
#define ARDUINO_PIN_6 GPIO_PIN(PORT_B, 1)
|
#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_7 GPIO_PIN(PORT_C, 14)
|
||||||
#define ARDUINO_PIN_8 GPIO_PIN(PORT_C, 15)
|
#define ARDUINO_PIN_8 GPIO_PIN(PORT_C, 15)
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user