CONFIG_ZVFS_POLL_MAX is now used to control the maximum number of poll() entires. Thereby, CONFIG_NET_SOCKETS_POLL_MAX is redundant and shall be deprecated. Modify the defaults for NET_SOCKETS_POLL_MAX and ZVS_POLL_MAX so that the deprecation actually makes sense instead of symbol removal. In case the application still sets the old config, it will modify the ZVS_POLL_MAX default. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
50 lines
995 B
Text
50 lines
995 B
Text
# Generic networking options
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|
|
CONFIG_NET_UDP=y
|
|
|
|
# Socket
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_POSIX_API=y
|
|
CONFIG_ZVFS_POLL_MAX=4
|
|
|
|
# CoAP
|
|
CONFIG_COAP=y
|
|
CONFIG_COAP_SERVER=y
|
|
CONFIG_COAP_SERVER_WELL_KNOWN_CORE=y
|
|
CONFIG_COAP_WELL_KNOWN_BLOCK_WISE=n
|
|
CONFIG_COAP_EXTENDED_OPTIONS_LEN=y
|
|
CONFIG_COAP_EXTENDED_OPTIONS_LEN_VALUE=40
|
|
|
|
# Kernel options
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# Logging
|
|
CONFIG_PRINTK=y
|
|
CONFIG_NET_LOG=y
|
|
|
|
# Network Shell
|
|
CONFIG_NET_SHELL=y
|
|
CONFIG_COAP_SERVER_SHELL=y
|
|
|
|
# Configuration
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
|
|
# Events
|
|
CONFIG_NET_MGMT=y
|
|
CONFIG_NET_MGMT_EVENT=y
|
|
CONFIG_NET_MGMT_EVENT_INFO=y
|
|
|
|
# Enable only one protocol, if you enable both sources
|
|
# won't compile.
|
|
# IPv6 Support
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_CONFIG_NEED_IPV6=y
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=5
|
|
|
|
#IPv4 Support
|
|
CONFIG_NET_IPV4=n
|
|
CONFIG_NET_CONFIG_NEED_IPV4=n
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|