nuttx-apps/system/ping/Kconfig
Gregory Nutt c1ec7db8a9 This commite eliminates the ping command from NSH and replaces it with a ping 'built-in' at apps/system/ping. The original NSH version of ping violated the portable POSIX interface and, hence, had to be removed. The new system/ping command uses the new IPPROTO_ICMP AF_INET datagram sockets to implement ping.
Squashed commit of the following:

    apps/system/ping:  Fix some timing issues.
    apps/system/ping:  A few timing related corrections.
    apps/nshlib:  Remove support for the NSH 'ping' command.  The implementation of that command violated the portable POSIX interface and has been replaced with a ping 'built-in' command at apps/system/ping.
    apps/system/ping:  Add larger payload.  Verify content of echoed payload.
    apps/system/ping:  Various fixes for a clean compile
    system/ping: Add new build structure for system ping command.
2017-10-23 08:50:01 -06:00

32 lines
639 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config SYSTEM_PING
bool "ICMP Ping command"
default n
depends on NET_ICMP_SOCKET
---help---
Enable support for the ICMP 'ping' command.
if SYSTEM_PING
config SYSTEM_PING_PROGNAME
string "Ping program name"
default "nxhello"
depends on BUILD_KERNEL
---help---
This is the name of the program that will be use when the NSH ELF
program is installed.
config SYSTEM_PING_PRIORITY
int "Ping task priority"
default 100
config SYSTEM_PING_STACKSIZE
int "Ping stack size"
default 2048
endif