summaryrefslogtreecommitdiff
path: root/apps/examples/udp/Kconfig
blob: c50573f62d30cdcb1af7b453963dce1bcd8b276f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config EXAMPLES_UDP
	bool "UDP example"
	default n
	---help---
		Enable the UDP example

if EXAMPLES_UDP

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