mirror of
https://github.com/gosticks/RIOT.git
synced 2025-10-16 12:05:37 +00:00
boards/nucleo32-common: fix error in arduino pin mapping
This commit is contained in:
parent
39fcc8bc62
commit
9bb5af3fc0
@ -39,9 +39,14 @@ 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)
|
||||
#define ARDUINO_PIN_7 GPIO_PIN(PORT_C, 14)
|
||||
|
||||
#define ARDUINO_PIN_8 GPIO_PIN(PORT_C, 15)
|
||||
#else
|
||||
#define ARDUINO_PIN_7 GPIO_PIN(PORT_F, 0)
|
||||
#define ARDUINO_PIN_8 GPIO_PIN(PORT_F, 1)
|
||||
#endif
|
||||
|
||||
#define ARDUINO_PIN_9 GPIO_PIN(PORT_A, 8)
|
||||
#define ARDUINO_PIN_10 GPIO_PIN(PORT_A, 11)
|
||||
#define ARDUINO_PIN_11 GPIO_PIN(PORT_B, 5)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user