zephyr/tests/net/socket/tcp/prj.conf

31 lines
682 B
Plaintext

# General config
CONFIG_NEWLIB_LIBC=y
# Networking config
CONFIG_NETWORKING=y
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=y
CONFIG_NET_TCP=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
# Network driver config
CONFIG_TEST_RANDOM_GENERATOR=y
# Network address config
CONFIG_NET_APP_SETTINGS=y
CONFIG_NET_APP_NEED_IPV4=y
CONFIG_NET_APP_NEED_IPV6=y
CONFIG_NET_APP_MY_IPV4_ADDR="192.0.2.1"
CONFIG_NET_APP_MY_IPV6_ADDR="2001:db8::1"
CONFIG_MAIN_STACK_SIZE=2048
# Required:
# Net pkt will be reused since src and dst address are the same.
# It takes at least 3 tx pkt to establish TCP connection (syn/syn-ack/ack)
CONFIG_NET_PKT_TX_COUNT=6
CONFIG_ZTEST=y
CONFIG_ZTEST_STACKSIZE=2048