zephyr/net/Kconfig
Tomasz Bursztyka 451dadd932 net: Refine Kconfig to put NET_BUF appart
NET_BUF might be used alone. Also Bluetooth does not necessarily needs
an IP stack to run. Changing titles names for better understanding.

Change-Id: Iabfd7bf0689e79d27cc7897856a528f0dc5740f7
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2016-12-02 12:40:13 +02:00

87 lines
1.8 KiB
Plaintext

# Kconfig - net stack configuration options
#
# Copyright (c) 2015 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
menu "Networking"
config NET_BUF
bool "Network buffer support"
default n
help
This option enables support for generic network protocol
buffers.
config NET_BUF_DEBUG
bool "Network buffer debugging"
depends on NET_BUF
select STDOUT_CONSOLE
select SYS_LOG
default n
help
Enable debug logs and checks for the generic network buffers.
config NET_BUF_SIMPLE_DEBUG
bool "Network buffer memory debugging"
depends on NET_BUF_DEBUG
select STDOUT_CONSOLE
select SYS_LOG
default n
help
Enable extra debug logs and checks for the generic network buffers.
source "net/bluetooth/Kconfig"
config NETWORKING
bool "Link layer and IP networking support"
select NANO_TIMEOUTS
select NANO_TIMERS
select NET_BUF
select SYSTEM_WORKQUEUE
select NANO_WORKQUEUE
default n
help
This option enabled generic link layer and IP networking support.
if NETWORKING
choice
prompt "IP stack"
default NET_UIP
help
Select what IP stack to use. The legacy stack is
Contiki based uIP stack.
config NET_UIP
bool "uIP"
help
Choose this if unsure.
config NET_YAIP
bool "New IP stack [EXPERIMENTAL]"
help
New IP stack.
endchoice
source "net/ip/Kconfig"
source "net/yaip/Kconfig"
endif
endmenu