Add support for setting a custom device name and per-board serial number for UVC

This commit is contained in:
Lorow
2025-06-17 22:20:20 +02:00
parent 39002e2335
commit ec4369df7f
17 changed files with 2740 additions and 102 deletions

View File

@@ -0,0 +1,11 @@
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})