mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
boards/yunjia-nrf51822: adapted to UART changes
This commit is contained in:
parent
e7f9b5b4f6
commit
2bf8136168
@ -47,7 +47,7 @@ extern "C" {
|
||||
* @name Define the boards stdio
|
||||
* @{
|
||||
*/
|
||||
#define STDIO UART_0
|
||||
#define STDIO UART_DEV(0)
|
||||
#define STDIO_BAUDRATE (115200U)
|
||||
#define STDIO_RX_BUFSIZE (64U)
|
||||
/** @} */
|
||||
|
@ -76,12 +76,9 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
#define UART_NUMOF (1U)
|
||||
#define UART_0_EN 1
|
||||
#define UART_IRQ_PRIO 1
|
||||
|
||||
/* UART pin configuration */
|
||||
#define UART_PIN_RX 1
|
||||
#define UART_PIN_TX 2
|
||||
#define UART_PIN_RX 1
|
||||
#define UART_PIN_TX 2
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user