2019-02-07 00:36:24 +08:00
|
|
|
# General config
|
|
|
|
CONFIG_NEWLIB_LIBC=y
|
|
|
|
|
|
|
|
# Networking config
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_TEST=y
|
|
|
|
CONFIG_NET_LOOPBACK=y
|
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
CONFIG_NET_IPV6=y
|
2021-03-25 19:53:05 +08:00
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
CONFIG_NET_TCP=n
|
2019-02-07 00:36:24 +08:00
|
|
|
CONFIG_NET_SOCKETS=y
|
|
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
2021-03-25 19:53:05 +08:00
|
|
|
CONFIG_NET_L2_DUMMY=y
|
|
|
|
CONFIG_NET_IPV6_DAD=n
|
|
|
|
CONFIG_NET_IPV6_MLD=n
|
|
|
|
CONFIG_NET_IPV6_ND=n
|
|
|
|
CONFIG_NET_ARP=n
|
2019-02-07 00:36:24 +08:00
|
|
|
|
|
|
|
CONFIG_NET_HOSTNAME_ENABLE=y
|
|
|
|
CONFIG_NET_HOSTNAME="ztest_hostname"
|
|
|
|
|
|
|
|
# Network driver config
|
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
|
|
|
|
# Network address config
|
|
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
2021-03-25 19:53:05 +08:00
|
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
|
2019-02-07 00:36:24 +08:00
|
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
2021-03-25 19:53:05 +08:00
|
|
|
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
|
|
|
|
|
|
|
CONFIG_NET_IF_MAX_IPV6_COUNT=3
|
|
|
|
CONFIG_NET_IF_MAX_IPV4_COUNT=3
|
2019-02-07 00:36:24 +08:00
|
|
|
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
|
|
CONFIG_ZTEST=y
|
|
|
|
|
|
|
|
# User mode requirements
|
2019-04-06 06:39:50 +08:00
|
|
|
CONFIG_TEST_USERSPACE=y
|
2019-02-07 00:36:24 +08:00
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=128
|