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_UDP
|
|
|
|
bool "UDP example"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the UDP example
|
|
|
|
|
|
|
|
if EXAMPLES_UDP
|
2014-03-05 19:48:58 +01:00
|
|
|
|
|
|
|
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"
|
2015-01-17 18:55:50 +01:00
|
|
|
default 0x0a000001 if !EXAMPLES_UDP_SERVER
|
|
|
|
default 0x0a000002 if EXAMPLES_UDP_SERVER
|
2014-03-05 19:48:58 +01:00
|
|
|
|
|
|
|
endif # EXAMPLES_UDP
|