boards/yunjia-nrf51822: adapted to UART changes

This commit is contained in:
Hauke Petersen 2015-10-20 13:10:01 +02:00
parent e7f9b5b4f6
commit 2bf8136168
2 changed files with 3 additions and 6 deletions

View File

@ -47,7 +47,7 @@ extern "C" {
* @name Define the boards stdio * @name Define the boards stdio
* @{ * @{
*/ */
#define STDIO UART_0 #define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U) #define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U) #define STDIO_RX_BUFSIZE (64U)
/** @} */ /** @} */

View File

@ -76,9 +76,6 @@ extern "C" {
* @{ * @{
*/ */
#define UART_NUMOF (1U) #define UART_NUMOF (1U)
#define UART_0_EN 1
#define UART_IRQ_PRIO 1
/* UART pin configuration */ /* UART pin configuration */
#define UART_PIN_RX 1 #define UART_PIN_RX 1
#define UART_PIN_TX 2 #define UART_PIN_TX 2