boards/airfy-beacon: adapted to UART changes
This commit is contained in:
parent
d32c03932e
commit
c5d67b69fc
@ -47,7 +47,7 @@
|
|||||||
* @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)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
@ -74,14 +74,11 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @name UART configuration
|
* @name UART configuration
|
||||||
|
*
|
||||||
|
* The CPU only supports one UART device, so we keep it simple
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define UART_NUMOF (1U)
|
#define UART_NUMOF (1U)
|
||||||
#define UART_0_EN 1
|
|
||||||
#define UART_IRQ_PRIO 1
|
|
||||||
|
|
||||||
/* UART 0 device configuration */
|
|
||||||
#define UART_DEV NRF_UART0
|
|
||||||
#define UART_PIN_RX 17
|
#define UART_PIN_RX 17
|
||||||
#define UART_PIN_TX 18
|
#define UART_PIN_TX 18
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user