NRF5: Customize STDIO pins from config system

pull/6352/head
Marcus Chang 2018-03-05 10:12:18 -08:00 committed by Cruz Monrreal II
parent 6ff720302e
commit 45ef25c1e8
2 changed files with 12 additions and 0 deletions

View File

@ -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 {

View File

@ -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