38 lines
936 B
Plaintext
38 lines
936 B
Plaintext
# General config
|
|
# The async method used in the sample needs more stack for the workqueue
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1500
|
|
CONFIG_POSIX_API=y
|
|
|
|
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_IPV4_MAPPING_TO_IPV6=y
|
|
CONFIG_ZVFS_OPEN_MAX=10
|
|
CONFIG_NET_MAX_CONN=5
|
|
CONFIG_NET_SOCKETS_SERVICE=y
|
|
CONFIG_NET_SOCKETS_POLL_MAX=20
|
|
|
|
# Network driver config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# Network address config
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_NEED_IPV4=y
|
|
CONFIG_NET_CONFIG_NEED_IPV6=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
|
|
|
# Network buffers
|
|
CONFIG_NET_PKT_RX_COUNT=16
|
|
CONFIG_NET_PKT_TX_COUNT=16
|
|
CONFIG_NET_BUF_RX_COUNT=64
|
|
CONFIG_NET_BUF_TX_COUNT=64
|
|
CONFIG_NET_CONTEXT_NET_PKT_POOL=y
|
|
|
|
CONFIG_NET_SHELL=y
|