zephyr/subsys/usb/host/CMakeLists.txt
Johann Fischer c3bcf31481 usb: host: add a structure to represent a USB device.
Add a structure to represent a USB device and wrappers to avoid
glue UHC calls when operating on devices. Although there is a long
road to device configuration and management, we can start with
the tools that can also be used for USB device support testing.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2023-10-01 09:26:07 +03:00

20 lines
362 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_linker_sources(DATA_SECTIONS usbh_data.ld)