stdio_uart.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
3  * 2018 Freie Universität Berlin
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
57 #ifndef STDIO_UART_H
58 #define STDIO_UART_H
59 
60 /* Boards may override the default STDIO UART device */
61 #include "board.h"
62 #include "stdio_base.h"
63 
64 #ifdef __cplusplus
65 extern "C" {
66 #endif
67 
68 #ifndef STDIO_UART_DEV
69 
72 #define STDIO_UART_DEV UART_DEV(0)
73 #endif
74 
75 #ifndef STDIO_UART_BAUDRATE
76 
79 #define STDIO_UART_BAUDRATE (115200)
80 #endif
81 
82 #ifndef STDIO_UART_RX_BUFSIZE
83 
86 #define STDIO_UART_RX_BUFSIZE (64)
87 #endif
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
93 #endif /* STDIO_UART_H */
stdio_base.h