This commit defines a public API for zperf upload functionality. The UDP/TCP uploader modules are decoupled from shell, allowing to perform uploads directly from the application code. The shell submodule makes use of this new public API. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
18 lines
323 B
CMake
18 lines
323 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library_named(zperf)
|
|
|
|
zephyr_library_sources(
|
|
shell_utils.c
|
|
zperf_common.c
|
|
zperf_session.c
|
|
zperf_shell.c
|
|
zperf_udp_receiver.c
|
|
zperf_udp_uploader.c
|
|
zperf_tcp_receiver.c
|
|
zperf_tcp_uploader.c
|
|
)
|
|
|
|
zephyr_library_include_directories(
|
|
${ZEPHYR_BASE}/subsys/net/ip
|
|
)
|