40 lines
851 B
Plaintext
40 lines
851 B
Plaintext
# General config
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|
|
CONFIG_POSIX_API=y
|
|
|
|
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_NET_SHELL=y
|
|
|
|
# Sockets
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_ZVFS_POLL_MAX=4
|
|
|
|
# Network driver config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# Network address config
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_NEED_IPV4=y
|
|
CONFIG_NET_CONFIG_NEED_IPV6=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
|
|
# Address of SNTP IPv4 server
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
# Address of SNTP IPv6 server
|
|
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
|
|
|
# SNTP
|
|
CONFIG_SNTP=y
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
# Network debug config
|
|
CONFIG_NET_LOG=y
|
|
CONFIG_LOG=y
|
|
CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=n
|
|
CONFIG_SNTP_LOG_LEVEL_DBG=n
|