-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose configurations to Kconfig
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) 2020 Freie Universitaet Berlin | ||
# | ||
# 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 KCONFIG_MODULE_SLIPDEV | ||
bool "Configure SLIPDEV driver" | ||
depends on MODULE_SLIPDEV | ||
help | ||
Configure the SLIPDEV driver using Kconfig. | ||
|
||
if KCONFIG_MODULE_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_MODULE_SLIPDEV |