mirror of
https://github.com/apache/nuttx.git
synced 2026-09-08 09:56:33 +00:00
nucleo-l432kc: Revert the USART2 config to be use by virtual COM port
This reverts commit 60236ce94d and fix
the issue reported by https://github.com/apache/nuttx/issues/13061.
Signed-off-by: Rodrigo Sim rcsim10@gmail.com
This commit is contained in:
parent
c3791756b2
commit
ea5bb64f42
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue