Skip to content

Commit d1740f4

Browse files
committed
Change SERIAL_TX/RX from PB6/7 back to PA2/3 to match MTS_DRAGONFLY_F411RE platforms
1 parent ed40488 commit d1740f4

File tree

1 file changed

+7
-6
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/TARGET_MTS_DRAGONFLY_F413RH

1 file changed

+7
-6
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/TARGET_MTS_DRAGONFLY_F413RH/PinNames.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,19 @@ typedef enum {
132132
LED4 = D3,
133133
LED_RED = LED1,
134134
BUTTON1 = NC,
135-
STDIO_UART_TX = PB_6,
136-
STDIO_UART_RX = PB_7,
137-
SERIAL_TX = STDIO_UART_TX,
138-
SERIAL_RX = STDIO_UART_RX,
139-
USBTX = STDIO_UART_TX,
140-
USBRX = STDIO_UART_RX,
135+
// STDIO for console print
136+
STDIO_UART_TX = USBTX,
137+
STDIO_UART_RX = USBRX,
138+
SERIAL_TX = D1,
139+
SERIAL_RX = D0,
141140
SERIAL_RTS = D3,
142141
SERIAL_CTS = D6,
143142
SERIAL_DCD = D4,
144143
SERIAL_DSR = D5,
145144
SERIAL_DTR = D7,
146145
SERIAL_RI = D8,
146+
USBTX = PB_6,
147+
USBRX = PB_7,
147148
RADIO_TX = PC_6,
148149
RADIO_RX = PC_7,
149150
RADIO_RTS = PB_10,

0 commit comments

Comments
 (0)