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