netutils/iperf: Configs were using EXAMPLES_ instead of NETUTILS_.
This commit is contained in:
parent
084cc55064
commit
80eba3aad1
@ -3,7 +3,7 @@
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
config EXAMPLES_IPERF
|
||||
config NETUTILS_IPERF
|
||||
bool "iperf example"
|
||||
default n
|
||||
depends on NET
|
||||
@ -13,24 +13,24 @@ config EXAMPLES_IPERF
|
||||
---help---
|
||||
Enable the \"iperf example\"
|
||||
|
||||
if EXAMPLES_IPERF
|
||||
if NETUTILS_IPERF
|
||||
|
||||
config EXAMPLES_IPERF_PROGNAME
|
||||
config NETUTILS_IPERF_PROGNAME
|
||||
string "Program name"
|
||||
default "iperf"
|
||||
---help---
|
||||
This is the name of the program that will be used when the NSH ELF
|
||||
program is installed.
|
||||
|
||||
config EXAMPLES_IPERF_PRIORITY
|
||||
config NETUTILS_IPERF_PRIORITY
|
||||
int "iperf task priority"
|
||||
default 100
|
||||
|
||||
config EXAMPLES_IPERF_STACKSIZE
|
||||
config NETUTILS_IPERF_STACKSIZE
|
||||
int "iperf stack size"
|
||||
default DEFAULT_TASK_STACKSIZE
|
||||
|
||||
config EXAMPLES_IPERFTEST_DEVNAME
|
||||
config NETUTILS_IPERFTEST_DEVNAME
|
||||
string "Wi-Fi Network device"
|
||||
default "wlan0"
|
||||
|
||||
|
@ -19,6 +19,6 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
ifneq ($(CONFIG_EXAMPLES_IPERF),)
|
||||
ifneq ($(CONFIG_NETUTILS_IPERF),)
|
||||
CONFIGURED_APPS += $(APPDIR)/netutils/iperf
|
||||
endif
|
||||
|
@ -22,10 +22,10 @@ include $(APPDIR)/Make.defs
|
||||
|
||||
# iperf example! built-in application info
|
||||
|
||||
PROGNAME = $(CONFIG_EXAMPLES_IPERF_PROGNAME)
|
||||
PRIORITY = $(CONFIG_EXAMPLES_IPERF_PRIORITY)
|
||||
STACKSIZE = $(CONFIG_EXAMPLES_IPERF_STACKSIZE)
|
||||
MODULE = $(CONFIG_EXAMPLES_IPERF)
|
||||
PROGNAME = $(CONFIG_NETUTILS_IPERF_PROGNAME)
|
||||
PRIORITY = $(CONFIG_NETUTILS_IPERF_PRIORITY)
|
||||
STACKSIZE = $(CONFIG_NETUTILS_IPERF_STACKSIZE)
|
||||
MODULE = $(CONFIG_NETUTILS_IPERF)
|
||||
|
||||
# Iperf Example
|
||||
|
||||
|
@ -92,7 +92,3 @@ Now on the host you should see something like:
|
||||
|
||||
This will tell you the link speed in Kbits/sec – kilobits per second. If you want kilobytes, divide by 8.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -34,8 +34,8 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_IPERFTEST_DEVNAME
|
||||
# define DEVNAME CONFIG_EXAMPLES_IPERFTEST_DEVNAME
|
||||
#ifdef CONFIG_NETUTILS_IPERFTEST_DEVNAME
|
||||
# define DEVNAME CONFIG_NETUTILS_IPERFTEST_DEVNAME
|
||||
#else
|
||||
# define DEVNAME "wlan0"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user