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.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
config EXAMPLES_IPERF
|
config NETUTILS_IPERF
|
||||||
bool "iperf example"
|
bool "iperf example"
|
||||||
default n
|
default n
|
||||||
depends on NET
|
depends on NET
|
||||||
@ -13,24 +13,24 @@ config EXAMPLES_IPERF
|
|||||||
---help---
|
---help---
|
||||||
Enable the \"iperf example\"
|
Enable the \"iperf example\"
|
||||||
|
|
||||||
if EXAMPLES_IPERF
|
if NETUTILS_IPERF
|
||||||
|
|
||||||
config EXAMPLES_IPERF_PROGNAME
|
config NETUTILS_IPERF_PROGNAME
|
||||||
string "Program name"
|
string "Program name"
|
||||||
default "iperf"
|
default "iperf"
|
||||||
---help---
|
---help---
|
||||||
This is the name of the program that will be used when the NSH ELF
|
This is the name of the program that will be used when the NSH ELF
|
||||||
program is installed.
|
program is installed.
|
||||||
|
|
||||||
config EXAMPLES_IPERF_PRIORITY
|
config NETUTILS_IPERF_PRIORITY
|
||||||
int "iperf task priority"
|
int "iperf task priority"
|
||||||
default 100
|
default 100
|
||||||
|
|
||||||
config EXAMPLES_IPERF_STACKSIZE
|
config NETUTILS_IPERF_STACKSIZE
|
||||||
int "iperf stack size"
|
int "iperf stack size"
|
||||||
default DEFAULT_TASK_STACKSIZE
|
default DEFAULT_TASK_STACKSIZE
|
||||||
|
|
||||||
config EXAMPLES_IPERFTEST_DEVNAME
|
config NETUTILS_IPERFTEST_DEVNAME
|
||||||
string "Wi-Fi Network device"
|
string "Wi-Fi Network device"
|
||||||
default "wlan0"
|
default "wlan0"
|
||||||
|
|
||||||
|
@ -19,6 +19,6 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
ifneq ($(CONFIG_EXAMPLES_IPERF),)
|
ifneq ($(CONFIG_NETUTILS_IPERF),)
|
||||||
CONFIGURED_APPS += $(APPDIR)/netutils/iperf
|
CONFIGURED_APPS += $(APPDIR)/netutils/iperf
|
||||||
endif
|
endif
|
||||||
|
@ -22,10 +22,10 @@ include $(APPDIR)/Make.defs
|
|||||||
|
|
||||||
# iperf example! built-in application info
|
# iperf example! built-in application info
|
||||||
|
|
||||||
PROGNAME = $(CONFIG_EXAMPLES_IPERF_PROGNAME)
|
PROGNAME = $(CONFIG_NETUTILS_IPERF_PROGNAME)
|
||||||
PRIORITY = $(CONFIG_EXAMPLES_IPERF_PRIORITY)
|
PRIORITY = $(CONFIG_NETUTILS_IPERF_PRIORITY)
|
||||||
STACKSIZE = $(CONFIG_EXAMPLES_IPERF_STACKSIZE)
|
STACKSIZE = $(CONFIG_NETUTILS_IPERF_STACKSIZE)
|
||||||
MODULE = $(CONFIG_EXAMPLES_IPERF)
|
MODULE = $(CONFIG_NETUTILS_IPERF)
|
||||||
|
|
||||||
# Iperf Example
|
# 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.
|
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
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_EXAMPLES_IPERFTEST_DEVNAME
|
#ifdef CONFIG_NETUTILS_IPERFTEST_DEVNAME
|
||||||
# define DEVNAME CONFIG_EXAMPLES_IPERFTEST_DEVNAME
|
# define DEVNAME CONFIG_NETUTILS_IPERFTEST_DEVNAME
|
||||||
#else
|
#else
|
||||||
# define DEVNAME "wlan0"
|
# define DEVNAME "wlan0"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user