zephyr/subsys/net/ip/Kconfig.debug
Anas Nashif fe958df4dd libc: rework libc selection and reduce Kconfigs
Moved all libc Kconfigs to where the code is and remove the default
Kconfig for selecting the minimal libc. Minimal libc is now the default
if nothing else is configured in.

Removed the options for extended libc, this obviously was restricting
features in the minimal libc without a good reason, most of the
functions are available directly when using newlib, so there is no
reason why we need to restrict those in minimal libc.

Jira: ZEP-1440
Change-Id: If0a3adf4314e2ebdf0e139dee3eb4f47ce07aa89
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-15 22:31:28 +00:00

92 lines
2.2 KiB
Plaintext

# Kconfig.debug - Debug Options
#
# Copyright (c) 2016 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.
#
menuconfig NET_LOG
bool "Enable network stack logging and debugging"
default n
select STDOUT_CONSOLE
select SYS_LOG
help
Enable logging in various parts of the network stack.
Specific debugging options to other sub-menus will be unlocked
as well (IPv6, IPv4, ...).
if NET_LOG
config NET_SHELL
bool "Enable network shell utilities"
default n
select ENABLE_SHELL
select CONSOLE_HANDLER
select CONSOLE_HANDLER_SHELL
help
Activate shell module that provides network commands like
ping to the console.
config NET_DEBUG_CORE
bool "Debug core IP stack"
default n
help
Enables core network stack code part to output debug messages
config NET_DEBUG_IF
bool "Debug network interface code"
default n
help
Enables network interface code part to output debug messages
config NET_DEBUG_UTILS
bool "Debug utility functions in IP stack"
default n
help
Enables utility functions to output debug messages
config NET_DEBUG_CONTEXT
bool "Debug network context allocation"
default n
help
Enables printing of network context allocations and frees.
config NET_DEBUG_NET_BUF
bool "Debug network buffer allocation"
default n
help
Enables printing of network buffer allocations and frees.
config NET_DEBUG_CONN
bool "Debug connection handling"
default n
help
Enables connection debug messages
config NET_DEBUG_ROUTE
bool "Debug route management"
depends on NET_ROUTE
default n
help
Enables routing engine debug messages
config NET_STATISTICS
bool "Print network statistics"
default n
help
Print network send/receive statistics to console.
This takes memory so say 'n' if unsure.
endif # NET_LOG