2017-10-17 19:56:41 +08:00
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_TEST=y
|
|
|
|
CONFIG_NET_IPV6=n
|
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
CONFIG_NET_TCP=y
|
|
|
|
CONFIG_NET_DHCPV4=n
|
|
|
|
CONFIG_NET_MAX_CONTEXTS=10
|
|
|
|
CONFIG_NET_L2_DUMMY=y
|
|
|
|
CONFIG_NET_LOG=y
|
|
|
|
CONFIG_SYS_LOG_SHOW_COLOR=y
|
2017-10-14 07:30:55 +08:00
|
|
|
CONFIG_ENTROPY_GENERATOR=y
|
2017-10-17 19:56:41 +08:00
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
CONFIG_NET_PKT_TX_COUNT=10
|
|
|
|
CONFIG_NET_PKT_RX_COUNT=10
|
|
|
|
CONFIG_NET_BUF_RX_COUNT=10
|
|
|
|
CONFIG_NET_BUF_TX_COUNT=10
|
|
|
|
CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=3
|
|
|
|
CONFIG_NET_APP=y
|
|
|
|
CONFIG_NET_APP_AUTO_INIT=n
|
|
|
|
CONFIG_NET_APP_SERVER=y
|
|
|
|
CONFIG_NET_APP_CLIENT=y
|
|
|
|
CONFIG_NET_APP_SETTINGS=y
|
|
|
|
CONFIG_NET_APP_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
CONFIG_ZTEST=y
|
|
|
|
#CONFIG_NET_DEBUG_APP=y
|
|
|
|
#CONFIG_SYS_LOG_NET_LEVEL=4
|
|
|
|
#CONFIG_NET_SHELL=y
|