43 lines
975 B
Plaintext
43 lines
975 B
Plaintext
# Generic networking options
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
CONFIG_POSIX_MAX_FDS=6
|
|
CONFIG_NET_SOCKETS_NET_MGMT=y
|
|
CONFIG_NET_MGMT_EVENT=y
|
|
|
|
# Kernel options
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_INIT_STACKS=y
|
|
|
|
# Logging
|
|
CONFIG_NET_LOG=y
|
|
CONFIG_LOG=y
|
|
|
|
# IP address options
|
|
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
|
|
CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=2
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4
|
|
CONFIG_NET_MAX_CONTEXTS=10
|
|
|
|
# Network shell
|
|
CONFIG_NET_SHELL=y
|
|
|
|
# Network application options and configuration
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
CONFIG_NET_CONFIG_AUTO_INIT=n
|
|
|
|
#CONFIG_NET_MGMT_EVENT_LOG_LEVEL_DBG=y
|
|
#CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
|
|
|
|
# Set the userspace support by default as that was the purpose
|
|
# of the sample application.
|
|
CONFIG_USERSPACE=y
|