Skip to content

Commit

Permalink
nucleo-l432kc: Revert the USART2 config to be use by virtual COM port
Browse files Browse the repository at this point in the history
This reverts commit 60236ce and fix
the issue reported by apache#13061.

Signed-off-by: Rodrigo Sim [email protected]
  • Loading branch information
rcsim authored and Jan Medek committed Sep 19, 2024
1 parent 5f8b3ee commit a3ccd3f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions boards/arm/stm32l4/nucleo-l432kc/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,13 @@
# define GPIO_USART1_TX GPIO_USART1_TX_2 /* PB6 */
#endif

/* USART2: Connected to STLInk Debug via PA2(TX), PA3(RX) */
/* USART2: Connected to STLInk Debug via PA2(TX), PA15(RX) */

#define GPIO_USART2_RX GPIO_USART2_RX_1 /* PA3 */
#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_TX GPIO_USART2_TX_1 /* PA2 */
#define GPIO_USART2_RTS GPIO_USART2_RTS_2
#define GPIO_USART2_CTS GPIO_USART2_CTS_2
Expand Down

0 comments on commit a3ccd3f

Please sign in to comment.