35 lines
777 B
Plaintext
35 lines
777 B
Plaintext
# General config
|
|
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_MBEDTLS_ENABLE_HEAP=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
|
|
|
|
CONFIG_NET_PKT_TX_COUNT=6
|
|
|
|
CONFIG_DNS_RESOLVER=y
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
CONFIG_DNS_SERVER1="192.0.2.2"
|
|
|
|
# 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_MY_IPV4_ADDR="192.0.2.1"
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
|
|
CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
|
|
# DHCP configuration. Until DHCP address is assigned,
|
|
# static configuration above is used instead.
|
|
CONFIG_NET_DHCPV4=y
|
|
|
|
# Network debug config
|
|
CONFIG_NET_LOG=y
|