forked from nrfconnect/sdk-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
93 lines (71 loc) · 2.16 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Net stack configuration options
# Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menu "Networking"
config NET_BUF
bool "Network buffer support"
help
This option enables support for generic network protocol
buffers.
if NET_BUF
config NET_BUF_USER_DATA_SIZE
int "Size of user_data available in every network buffer"
default 8 if ((BT || NET_TCP2) && 64BIT) || BT_ISO
default 4
range 4 65535 if BT || NET_TCP2
range 0 65535
help
Amount of memory reserved in each network buffer for user data. In
most cases this can be left as the default value.
config NET_BUF_LOG
bool "Network buffer logging"
select LOG
help
Enable logs and checks for the generic network buffers.
module = NET_BUF
module-str = net_buf
source "subsys/logging/Kconfig.template.log_config"
if NET_BUF_LOG
config NET_BUF_WARN_ALLOC_INTERVAL
int "Interval of Network buffer allocation warnings"
default 1
range 0 60
help
Interval in seconds of Network buffer allocation warnings which are
generated when a buffer cannot immediately be allocated with K_FOREVER
which may lead to deadlocks. Setting it to 0 makes warnings to be
printed only once per allocation.
config NET_BUF_SIMPLE_LOG
bool "Network buffer memory debugging"
select LOG
help
Enable extra debug logs and checks for the generic network buffers.
endif # NET_BUF_LOG
config NET_BUF_POOL_USAGE
bool "Network buffer pool usage tracking"
help
Enable network buffer pool tracking. This means that:
* amount of free buffers in the pool is remembered
* total size of the pool is calculated
* pool name is stored and can be shown in debugging prints
endif # NET_BUF
config NETWORKING
bool "Link layer and IP networking support"
select NET_BUF
select POLL
select ENTROPY_GENERATOR
help
This option enabled generic link layer and IP networking support.
if NETWORKING
# Such option should not be configured manually but by device drivers
# which supports PM properly.
config NET_POWER_MANAGEMENT
bool
default n
depends on PM_DEVICE
source "subsys/net/Kconfig.hostname"
source "subsys/net/l2/Kconfig"
source "subsys/net/ip/Kconfig"
source "subsys/net/lib/Kconfig"
endif
endmenu