2017-07-18 21:25:31 +08:00
|
|
|
# General config
|
|
|
|
CONFIG_NEWLIB_LIBC=y
|
|
|
|
|
|
|
|
# Networking config
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_IPV4=y
|
2017-08-18 16:26:16 +08:00
|
|
|
CONFIG_NET_IPV6=y
|
2017-07-18 21:25:31 +08:00
|
|
|
CONFIG_NET_TCP=y
|
|
|
|
CONFIG_NET_SOCKETS=y
|
|
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
2017-08-18 16:26:16 +08:00
|
|
|
CONFIG_NET_SOCKETS_POLL_MAX=5
|
2017-07-18 21:25:31 +08:00
|
|
|
|
|
|
|
# Network driver config
|
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
|
|
|
|
# Without CONFIG_NET_BUF_LOG printf() doesn't work
|
|
|
|
CONFIG_NET_BUF_LOG=y
|
|
|
|
|
|
|
|
# Network address config
|
|
|
|
CONFIG_NET_APP_SETTINGS=y
|
2017-08-05 03:13:49 +08:00
|
|
|
CONFIG_NET_APP_NEED_IPV4=y
|
2017-08-18 16:26:16 +08:00
|
|
|
CONFIG_NET_APP_NEED_IPV6=y
|
2017-07-18 21:25:31 +08:00
|
|
|
CONFIG_NET_APP_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
CONFIG_NET_APP_PEER_IPV4_ADDR="192.0.2.2"
|
2017-08-18 16:26:16 +08:00
|
|
|
CONFIG_NET_APP_MY_IPV6_ADDR="2001:db8::1"
|
|
|
|
CONFIG_NET_APP_PEER_IPV6_ADDR="2001:db8::2"
|
|
|
|
CONFIG_NET_APP_BT_NODE=y
|
2017-07-18 21:25:31 +08:00
|
|
|
|
|
|
|
# Network debug config
|
|
|
|
#CONFIG_NET_DEBUG_SOCKETS=y
|
|
|
|
CONFIG_SYS_LOG_NET_LEVEL=2
|