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 
89 #ifndef STDIO_UART_H
90 #define STDIO_UART_H
91 
92 /* Boards may override the default STDIO UART device */
93 #include "board.h"
94 #include "stdio_base.h"
95 
96 #ifdef __cplusplus
97 extern "C" {
98 #endif
99 
100 #ifndef STDIO_UART_DEV
104 #define STDIO_UART_DEV UART_DEV(0)
105 #endif
106 
107 #ifndef STDIO_UART_BAUDRATE
111 #define STDIO_UART_BAUDRATE (115200)
112 #endif
113 
114 #ifdef __cplusplus
115 }
116 #endif
118 #endif /* STDIO_UART_H */