2017-06-15 02:50:55 +08:00
|
|
|
# General config
|
|
|
|
CONFIG_NEWLIB_LIBC=y
|
|
|
|
|
|
|
|
# Networking config
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_IPV4=y
|
2017-08-11 15:40:36 +08:00
|
|
|
CONFIG_NET_IPV6=y
|
2017-07-28 16:05:38 +08:00
|
|
|
CONFIG_NET_UDP=y
|
2017-06-15 02:50:55 +08:00
|
|
|
CONFIG_NET_SOCKETS=y
|
|
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
2018-10-18 00:08:28 +08:00
|
|
|
CONFIG_POSIX_MAX_FDS=10
|
2019-07-02 17:51:30 +08:00
|
|
|
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
|
|
|
|
CONFIG_NET_IPV6_DAD=n
|
|
|
|
CONFIG_NET_IPV6_MLD=n
|
2017-06-15 02:50:55 +08:00
|
|
|
|
|
|
|
# Network driver config
|
2019-07-02 17:51:30 +08:00
|
|
|
CONFIG_NET_L2_ETHERNET=y
|
2017-06-15 02:50:55 +08:00
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
|
|
|
|
# Network address config
|
2018-08-12 14:32:12 +08:00
|
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
2017-06-15 02:50:55 +08:00
|
|
|
|
2017-08-11 15:40:36 +08:00
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
2019-07-02 17:51:30 +08:00
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=128
|
2017-06-15 02:50:55 +08:00
|
|
|
|
|
|
|
CONFIG_ZTEST=y
|
2019-07-02 17:51:30 +08:00
|
|
|
CONFIG_NET_TEST=y
|
|
|
|
CONFIG_TEST_USERSPACE=y
|
|
|
|
|
2019-05-30 23:38:05 +08:00
|
|
|
CONFIG_NET_CONTEXT_PRIORITY=y
|
2019-07-02 17:51:30 +08:00
|
|
|
CONFIG_NET_CONTEXT_TXTIME=y
|