ethos_params.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
18 #ifndef ETHOS_PARAMS_H
19 #define ETHOS_PARAMS_H
20 
21 #include "board.h"
22 #include "ethos.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #ifndef ETHOS_PARAMS
29 #define ETHOS_PARAMS { .uart = ETHOS_UART, \
30  .baudrate = ETHOS_BAUDRATE }
31 #endif
32 
39 static const ethos_params_t ethos_params[] = {
40  ETHOS_PARAMS
41 };
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* ETHOS_PARAMS_H */
Interface definition for the ethernet-over-serial module.
static const ethos_params_t ethos_params[]
ethos configuration
Definition: ethos_params.h:39
Struct containing the needed configuration.
Definition: ethos.h:125