Make a library out of the zperf shell sample. This makes to enable the module in any application, not only the dedicated sample. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
20 lines
477 B
Plaintext
20 lines
477 B
Plaintext
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig NET_ZPERF
|
|
bool "zperf shell utility"
|
|
depends on SHELL
|
|
help
|
|
This option enables zperf shell utility, which allows to generate
|
|
network traffic and evaluate network bandwidth.
|
|
|
|
if NET_ZPERF
|
|
|
|
module = NET_ZPERF
|
|
module-dep = NET_LOG
|
|
module-str = Log level for zperf
|
|
module-help = Enable debug message of zperf libray.
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
|
|
endif
|