31 lines
613 B
Plaintext
31 lines
613 B
Plaintext
# 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
|
|
# Defines fd_set size
|
|
CONFIG_POSIX_MAX_FDS=33
|
|
|
|
# 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"
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_ZTEST=y
|
|
|
|
# User mode requirements
|
|
CONFIG_TEST_USERSPACE=y
|
|
CONFIG_HEAP_MEM_POOL_SIZE=128
|
|
|
|
CONFIG_QEMU_TICKLESS_WORKAROUND=y
|