diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-05 12:48:58 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-05 12:48:58 -0600 |
commit | a02c88d3569d822c623bfa3b91adf70c0f932f7a (patch) | |
tree | 40526bf7e5dcc5c3c9cebb9e846963c815d1dd60 /apps/examples | |
parent | 1863634ded894b6537820e40f5304833d858176f (diff) | |
download | nuttx-a02c88d3569d822c623bfa3b91adf70c0f932f7a.tar.gz nuttx-a02c88d3569d822c623bfa3b91adf70c0f932f7a.tar.bz2 nuttx-a02c88d3569d822c623bfa3b91adf70c0f932f7a.zip |
configs/ntosd-dm320/udp: Configuration converted to use the kconfig-frontends tools
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/udp/Kconfig | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/apps/examples/udp/Kconfig b/apps/examples/udp/Kconfig index 24df27375..c50573f62 100644 --- a/apps/examples/udp/Kconfig +++ b/apps/examples/udp/Kconfig @@ -10,4 +10,26 @@ config EXAMPLES_UDP Enable the UDP example if EXAMPLES_UDP -endif + +config EXAMPLES_UDP_SERVER + bool "Target is the server" + default n + +config EXAMPLES_UDP_IPADDR + hex "Target IP address" + default 0x0a000002 + +config EXAMPLES_UDP_DRIPADDR + hex "Target default router address (Gateway)" + default 0x0a000001 + +config EXAMPLES_UDP_NETMASK + hex "Network mask" + default 0xffffff00 + +config EXAMPLES_UDP_SERVERIP + hex "Server IP address" + default 0x0a000001 if EXAMPLES_UDP_SERVER + default 0x0a000002 if !EXAMPLES_UDP_SERVER + +endif # EXAMPLES_UDP |