Skip to content

Commit 116e53e

Browse files
committed
NRF52480: fix Serial TX/RX pins
This commit should be later reverted, and master version kept.
1 parent 8ac8b1f commit 116e53e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52840/PeripheralNames.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ extern "C" {
4646
#endif
4747

4848
#ifndef STDIO_UART_TX
49-
#define STDIO_UART_TX TX_PIN_NUMBER
49+
#define STDIO_UART_TX USBTX
5050
#endif
5151

5252
#ifndef STDIO_UART_RX
53-
#define STDIO_UART_RX RX_PIN_NUMBER
53+
#define STDIO_UART_RX USBRX
5454
#endif
5555

5656
#define STDIO_UART UART_0

0 commit comments

Comments
 (0)