NRF5: Customize STDIO pins from config system

pull/6275/head
Marcus Chang 2018-03-05 10:12:18 -08:00
parent f0bda6c4cd
commit 812b9be6d3
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