84 lines
1.7 KiB
Plaintext
84 lines
1.7 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
|
|
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
|