From 23672d2bbe33475bd04ea4013424e5974c5d4522 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 5 Mar 2014 12:48:58 -0600 Subject: [PATCH] configs/ntosd-dm320/udp: Configuration converted to use the kconfig-frontends tools --- examples/udp/Kconfig | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/examples/udp/Kconfig b/examples/udp/Kconfig index 24df27375..c50573f62 100644 --- a/examples/udp/Kconfig +++ b/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