board: nucleo-l432kc: Add missing I2C3 GPIO definition
I2C3 not worked due to it's GPIO pin definition has been missing on board.h. Fix it through include two pin macros on stm32l4x3xx_pinmap.h to board.h. GPIO_I2C3_SCL and GPIO_I2C3_SDA is pointing A7 and B4 respectively.
This commit is contained in:
parent
b1ba1d4bca
commit
d594a171ac
@ -148,6 +148,11 @@
|
||||
(GPIO_OUTPUT | GPIO_OPENDRAIN | GPIO_SPEED_50MHz | GPIO_OUTPUT_SET | \
|
||||
GPIO_PORTB | GPIO_PIN7)
|
||||
|
||||
#define GPIO_I2C3_SCL \
|
||||
(GPIO_I2C3_SCL_1 | GPIO_OPENDRAIN | GPIO_SPEED_50MHz | GPIO_OUTPUT_SET)
|
||||
#define GPIO_I2C3_SDA \
|
||||
(GPIO_I2C3_SDA_1 | GPIO_OPENDRAIN | GPIO_SPEED_50MHz | GPIO_OUTPUT_SET)
|
||||
|
||||
/* SPI */
|
||||
|
||||
#if 1
|
||||
|
Loading…
Reference in New Issue
Block a user