summaryrefslogtreecommitdiff
path: root/apps/examples/nettest/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-24 16:28:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-24 16:28:15 +0000
commit9ed566465c0f31106e2e3fd3be2b33dd9489d3b0 (patch)
treea51180fd3fd067bdba947fe6b9ba9797db0e2ba7 /apps/examples/nettest/Kconfig
parentb563cb2cdc447a97347d063fad5ef586434757eb (diff)
downloadnuttx-9ed566465c0f31106e2e3fd3be2b33dd9489d3b0.tar.gz
nuttx-9ed566465c0f31106e2e3fd3be2b33dd9489d3b0.tar.bz2
nuttx-9ed566465c0f31106e2e3fd3be2b33dd9489d3b0.zip
apps/examples/nettest and poll: Complete Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5556 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nettest/Kconfig')
-rw-r--r--apps/examples/nettest/Kconfig43
1 files changed, 43 insertions, 0 deletions
diff --git a/apps/examples/nettest/Kconfig b/apps/examples/nettest/Kconfig
index 63d34ec3f..613b8ea91 100644
--- a/apps/examples/nettest/Kconfig
+++ b/apps/examples/nettest/Kconfig
@@ -6,8 +6,51 @@
config EXAMPLES_NETTEST
bool "Network test example"
default n
+ depends on NET_TCP
---help---
Enable the network test example
if EXAMPLES_NETTEST
+
+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
+ gateway address, EXAMPLES_NETTEST_DRIPADDR.
+
endif