nuttx-apps/examples/netloop/Kconfig
Gregory Nutt b2cd439b10 Remove unselectable CONFIG_NET_TCP_READHEAD dependencies.
NuttX commit 346336bb9e5c9199b82e34d08bf23dd1bc389460 make CONFIG_NET_TCP_READADHEAD unselectable and removed all references to CONFIG_NET_TCP_READHEAD from the the NuttX repositories.  However, there was no corresponding removal of CONFIG_NET_TCP_READHEAD from the apps/ repository.  As a result, there was logic that depended on the selection of CONFIG_NET_TCP_READHEAD that could never be enabled.

This was found during build testing using the configuration olimex-lpc1766stk/thttpd-binfs.  THTTPD was not being build fully because it had dependencies on CONFIG_NET_TCP_READHEAD.  There resulted int numerous new warnings and, finally, the error:

(.../apps.examples.thttpd.o): in function `thttp_main':
thttpd_main.c:(.text+0x104): undefined reference to `thttpd_main'
2020-01-15 11:16:17 -03:00

29 lines
663 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_NETLOOP
tristate "Local loopback example"
default n
depends on NET_LOOPBACK && NET_TCP && NET_TCPBACKLOG && NET_TCP_WRITE_BUFFERS && NET_IPv4
---help---
Enable the local loopback example
if EXAMPLES_NETLOOP
config EXAMPLES_NETLOOP_KEEPALIVE
bool "Enable TCP KeepAlive test"
default n
depends on NET_TCP_KEEPALIVE
config EXAMPLES_NETLOOP_STACKSIZE
int "Loopback test stack size"
default 2048
config EXAMPLES_NETLOOP_PRIORITY
int "Loopback test task priority"
default 100
endif # EXAMPLES_NETLOOP