nuttx-apps/examples/tcpecho/Kconfig
Xiang Xiao 31a7b99f9c apps.: Remove the inappropriate NSH_BUILTIN_APPS coupling
1. Check NSH_NETINIT for self network initialization
2. Check NSH_ARCHINIT for sel arch specific initialization
3. Always show help regardless of NSH_BUILTIN_APPS
4. Loop forever regardless of NSH_BUILTIN_APPS, user could:
  a.change the default behavior by the command line argument
  b.or ctrl+c to break out the loop
2019-10-07 02:37:56 -06:00

55 lines
1.3 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_TCPECHO
tristate "Simple TCP echo server"
default n
---help---
Simple single threaded, poll based TCP echo server. This example
implements the TCP Echo Server from W. Richard Stevens
UNIX Network Programming Book.
config EXAMPLES_TCPECHO_PORT
int "Server Port"
default 80
depends on EXAMPLES_TCPECHO
config EXAMPLES_TCPECHO_BACKLOG
int "Listen Backlog"
default 8
depends on EXAMPLES_TCPECHO
config EXAMPLES_TCPECHO_NCONN
int "Number of Connections"
default 8
depends on EXAMPLES_TCPECHO
config EXAMPLES_TCPECHO_DHCPC
bool "DHCP Client"
default n
depends on EXAMPLES_TCPECHO && !NSH_NETINIT
select NETUTILS_DHCPC
select NETDB_DNSCLIENT
config EXAMPLES_TCPECHO_NOMAC
bool "Use Canned MAC Address"
default n
depends on EXAMPLES_TCPECHO && !NSH_NETINIT
config EXAMPLES_TCPECHO_IPADDR
hex "Target IP address"
default 0x0a000002
depends on EXAMPLES_TCPECHO && !NSH_NETINIT && !EXAMPLES_TCPECHO_DHCPC
config EXAMPLES_TCPECHO_DRIPADDR
hex "Default Router IP address (Gateway)"
default 0x0a000001
depends on EXAMPLES_TCPECHO && !NSH_NETINIT
config EXAMPLES_TCPECHO_NETMASK
hex "Network Mask"
default 0xffffff00
depends on EXAMPLES_TCPECHO && !NSH_NETINITd