mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-14 04:03:44 +02:00
12 lines
427 B
CMake
12 lines
427 B
CMake
idf_component_register(SRCS usb_device_uvc.c
|
|
INCLUDE_DIRS "include"
|
|
REQUIRES usb esp_timer)
|
|
|
|
idf_component_get_property(tusb_lib espressif__tinyusb COMPONENT_LIB)
|
|
|
|
target_include_directories(${tusb_lib} PUBLIC "${COMPONENT_DIR}/tusb")
|
|
target_sources(${tusb_lib} PUBLIC "${COMPONENT_DIR}/tusb/usb_descriptors.c")
|
|
|
|
include(package_manager)
|
|
cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR})
|