2021-09-10 20:21:25 +08:00
|
|
|
# Networking config
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
CONFIG_NET_IPV6=n
|
|
|
|
CONFIG_NET_UDP=n
|
|
|
|
CONFIG_NET_TCP=n
|
|
|
|
CONFIG_NET_SOCKETS=y
|
|
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
|
|
CONFIG_NET_SOCKETS_PACKET=y
|
|
|
|
CONFIG_POSIX_MAX_FDS=8
|
|
|
|
CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_NET_CORE_LOG_LEVEL_DBG=y
|
|
|
|
|
|
|
|
# Network driver config
|
|
|
|
CONFIG_NET_L2_ETHERNET=y
|
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
|
|
|
|
CONFIG_NET_L2_DUMMY=y
|
|
|
|
CONFIG_NET_IF_MAX_IPV4_COUNT=4
|
|
|
|
|
|
|
|
CONFIG_ZTEST=y
|
2022-07-28 17:35:13 +08:00
|
|
|
CONFIG_ZTEST_NEW_API=y
|
2021-09-10 20:21:25 +08:00
|
|
|
CONFIG_NET_TEST=y
|
|
|
|
CONFIG_NET_LOG=y
|
|
|
|
CONFIG_TEST_USERSPACE=y
|
|
|
|
CONFIG_NET_MAX_CONTEXTS=8
|
|
|
|
CONFIG_NET_MAX_CONN=8
|