40 lines
824 B
Plaintext
40 lines
824 B
Plaintext
# General config
|
|
CONFIG_LOG=y
|
|
CONFIG_NET_LOG=y
|
|
|
|
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
CONFIG_NET_SOCKETS_NET_MGMT=y
|
|
CONFIG_NET_MGMT=y
|
|
CONFIG_NET_MGMT_EVENT=y
|
|
CONFIG_NET_L2_ETHERNET=y
|
|
CONFIG_NET_L2_ETHERNET_MGMT=y
|
|
|
|
# Network driver config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# Network address config
|
|
CONFIG_NET_CONFIG_AUTO_INIT=n
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="127.0.0.1"
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="::1"
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_ZTEST=y
|
|
|
|
# User mode requirements
|
|
CONFIG_TEST_USERSPACE=y
|
|
CONFIG_HEAP_MEM_POOL_SIZE=128
|
|
|
|
# We do not need neighbor discovery etc for this test
|
|
CONFIG_NET_IPV6_DAD=n
|
|
CONFIG_NET_IPV6_ND=n
|
|
CONFIG_NET_IPV6_MLD=n
|
|
|
|
CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
|