1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/slipdev/Kconfig
2021-01-21 11:22:31 +01:00

35 lines
967 B
Plaintext

# Copyright (c) 2020 Freie Universitaet Berlin
# 2021 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig MODULE_SLIPDEV
bool "SLIP over UART network device"
depends on HAS_PERIPH_UART
depends on TEST_KCONFIG
select MODULE_TSRB
select MODULE_PERIPH_UART
menuconfig KCONFIG_USEMODULE_SLIPDEV
bool "Configure SLIPDEV driver"
depends on USEMODULE_SLIPDEV
help
Configure the SLIPDEV driver using Kconfig.
if KCONFIG_USEMODULE_SLIPDEV
config SLIPDEV_BUFSIZE_EXP
int "Buffer size (as exponent of 2^n)"
default 11
range 0 31
help
UART buffer size used for TX and RX buffers.
Reduce this value if your expected traffic does
not include full IPv6 MTU.
Value represents the exponent n of 2^n.
endif # KCONFIG_USEMODULE_SLIPDEV