mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #6275 from marcuschangarm/fix-uart-init
NRF52: Customize STDIO pins from config systempull/6190/merge
commit
1d3e59aa7c
|
@ -45,8 +45,14 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef STDIO_UART_TX
|
||||
#define STDIO_UART_TX TX_PIN_NUMBER
|
||||
#endif
|
||||
|
||||
#ifndef STDIO_UART_RX
|
||||
#define STDIO_UART_RX RX_PIN_NUMBER
|
||||
#endif
|
||||
|
||||
#define STDIO_UART UART_0
|
||||
|
||||
typedef enum {
|
||||
|
|
|
@ -45,8 +45,14 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef STDIO_UART_TX
|
||||
#define STDIO_UART_TX TX_PIN_NUMBER
|
||||
#endif
|
||||
|
||||
#ifndef STDIO_UART_RX
|
||||
#define STDIO_UART_RX RX_PIN_NUMBER
|
||||
#endif
|
||||
|
||||
#define STDIO_UART UART_0
|
||||
|
||||
typedef enum
|
||||
|
|
Loading…
Reference in New Issue