nucleo-l432kc: Fix board configuration for USART2
This commit is contained in:
parent
b516b29efc
commit
60236ce94d
1 changed files with 2 additions and 6 deletions
|
@ -90,13 +90,9 @@
|
|||
# define GPIO_USART1_TX GPIO_USART1_TX_2 /* PB6 */
|
||||
#endif
|
||||
|
||||
/* USART2: Connected to STLInk Debug via PA2(TX), PA15(RX) */
|
||||
/* USART2: Connected to STLInk Debug via PA2(TX), PA3(RX) */
|
||||
|
||||
#if defined(CONFIG_ARCH_BOARD_USART2_RX_PA3)
|
||||
# define GPIO_USART2_RX GPIO_USART2_RX_1 /* PA3 */
|
||||
#elif defined(CONFIG_ARCH_BOARD_USART2_RX_PA15)
|
||||
# define GPIO_USART2_RX GPIO_USART2_RX_2 /* PA15 */
|
||||
#endif
|
||||
#define GPIO_USART2_RX GPIO_USART2_RX_1 /* PA3 */
|
||||
#define GPIO_USART2_TX GPIO_USART2_TX_1 /* PA2 */
|
||||
#define GPIO_USART2_RTS GPIO_USART2_RTS_2
|
||||
#define GPIO_USART2_CTS GPIO_USART2_CTS_2
|
||||
|
|
Loading…
Reference in a new issue