Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
slipdev_params.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2018-2020 Freie Universität Berlin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "board.h"
19
#include "
slipdev.h
"
20
#include "
stdio_uart.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#ifndef SLIPDEV_PARAM_UART
31
# ifdef MODULE_STDIO_UART
32
# define SLIPDEV_PARAM_UART UART_DEV(1)
33
# else
34
# define SLIPDEV_PARAM_UART STDIO_UART_DEV
35
# endif
36
#endif
/* SLIPDEV_PARAM_UART */
37
38
#ifndef SLIPDEV_PARAM_BAUDRATE
39
# define SLIPDEV_PARAM_BAUDRATE STDIO_UART_BAUDRATE
40
#endif
/* SLIPDEV_PARAM_BAUDRATE */
41
42
#ifndef SLIPDEV_PARAMS
43
#define SLIPDEV_PARAMS { .uart = SLIPDEV_PARAM_UART, \
44
.baudrate = SLIPDEV_PARAM_BAUDRATE }
45
#endif
47
54
static
const
slipdev_params_t
slipdev_params
[] = {
55
SLIPDEV_PARAMS
56
};
57
58
#ifdef __cplusplus
59
}
60
#endif
61
slipdev.h
SLIP device definitions.
slipdev_params
static const slipdev_params_t slipdev_params[]
slipdev configuration
Definition
slipdev_params.h:54
stdio_uart.h
slipdev_params_t
Configuration parameters for a slipdev.
Definition
slipdev.h:154
Generated on Wed Apr 15 2026 11:03:04 by
1.13.2