The server uses host support to export a USB device to a remote USBIP client. It supports control and bulk transfers, interrupt transfers may also work, but this depends on the host controller used. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
25 lines
420 B
CMake
25 lines
420 B
CMake
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
zephyr_library_include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
zephyr_library_sources(
|
|
usbh_ch9.c
|
|
usbh_core.c
|
|
usbh_api.c
|
|
usbh_device.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_USBH_SHELL
|
|
usbh_shell.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_USBIP
|
|
usbip.c
|
|
)
|
|
|
|
zephyr_linker_sources(DATA_SECTIONS usbh_data.ld)
|