2019-02-09 06:34:39 +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
|
|
|
|
CONFIG_NET_SOCKETS=y
|
|
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
|
|
|
|
|
|
# Enable the DNS resolver
|
|
|
|
CONFIG_DNS_RESOLVER=y
|
|
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
|
|
|
|
|
|
# Use local dnsmasq server for testing
|
|
|
|
CONFIG_DNS_SERVER1="[2001:db8::2]:15353"
|
|
|
|
CONFIG_DNS_SERVER2="192.0.2.2:15353"
|
|
|
|
|
|
|
|
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-09 06:34:39 +08:00
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=128
|