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.
1 parent 2863968 commit 863b8f5Copy full SHA for 863b8f5
device/esp_tinyusb/test_apps/runtime_config/main/CMakeLists.txt
@@ -1,6 +1,13 @@
1
+# 1. usb component is used only to use USB PHY api
2
+# 2. in IDF >= 6, the USB PHY was removed from USB component
3
+set(priv_requires "")
4
+if(${IDF_VERSION_MAJOR} LESS 6)
5
+ list(APPEND priv_requires usb)
6
+endif()
7
+
8
idf_component_register(SRC_DIRS .
9
INCLUDE_DIRS .
10
PRIV_INCLUDE_DIRS "../../../include_private"
- PRIV_REQUIRES usb
11
+ PRIV_REQUIRES ${priv_requires}
12
REQUIRES unity
13
WHOLE_ARCHIVE)
0 commit comments