2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NETTEST
|
|
|
|
bool "Network test example"
|
|
|
|
default n
|
2013-01-24 17:28:15 +01:00
|
|
|
depends on NET_TCP
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the network test example
|
|
|
|
|
|
|
|
if EXAMPLES_NETTEST
|
2013-01-24 17:28:15 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_SERVER
|
|
|
|
bool "Target is server"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select to use the host as the client side of the test. Default: The
|
|
|
|
target is the client side of the test
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_PERFORMANCE
|
|
|
|
bool "Test for Performance"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Configure the example to test for network performance. Default: Test
|
|
|
|
is for network functionality.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_NOMAC
|
|
|
|
bool "Use Canned MAC Address"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPADDR
|
|
|
|
hex "Target IP address"
|
|
|
|
default 0x0a000002
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPADDR
|
|
|
|
hex "Default Router IP address (Gateway)"
|
|
|
|
default 0x0a000001
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_NETMASK
|
|
|
|
hex "Network Mask"
|
|
|
|
default 0xffffff00
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_CLIENTIP
|
|
|
|
hex "Client IP Address"
|
|
|
|
default 0x0a000001 if !EXAMPLES_NETTEST_SERVER
|
|
|
|
default 0x0a000002 if EXAMPLES_NETTEST_SERVER
|
|
|
|
---help---
|
|
|
|
IP address of the client. If the target is the client, then
|
|
|
|
EXAMPLES_NETTEST_CLIENTIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the server,
|
|
|
|
then the default value of EXAMPLES_NETTEST_CLIENTIP is set to the
|
2014-02-25 23:41:11 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
2013-01-24 17:28:15 +01:00
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|