We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d165b72 + d158ad6 commit 7d2348cCopy full SHA for 7d2348c
components/usb/usb_device_uac/CMakeLists.txt
@@ -1,6 +1,12 @@
1
+set(priv_requires esp_timer)
2
+
3
+if(${IDF_VERSION_MAJOR} LESS 6)
4
+ list(APPEND priv_requires usb) # USB PHY is part of usb component in IDF < 6.0
5
+endif()
6
7
idf_component_register(SRCS usb_device_uac.c
8
INCLUDE_DIRS "include"
- PRIV_REQUIRES usb esp_timer)
9
+ PRIV_REQUIRES ${priv_requires})
10
11
if(NOT CONFIG_USB_DEVICE_UAC_AS_PART)
12
# Determine whether tinyusb is fetched from component registry or from local path
0 commit comments