39 lines
866 B
Plaintext
39 lines
866 B
Plaintext
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_SHELL=y
|
|
|
|
# Sockets
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
CONFIG_NET_SOCKETS_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 HTTP IPv4 server
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
# Address of HTTP IPv6 server
|
|
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
|
|
|
# HTTP
|
|
CONFIG_HTTP_CLIENT=y
|
|
|
|
# Network debug config
|
|
CONFIG_LOG=y
|
|
CONFIG_LOG_MODE_IMMEDIATE=y
|
|
CONFIG_NET_LOG=y
|
|
CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=n
|
|
CONFIG_NET_HTTP_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|