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 39e499eCopy full SHA for 39e499e
device/esp_tinyusb/test_apps/runtime_config/main/CMakeLists.txt
@@ -1,6 +1,13 @@
1
+# 1. USB component dependency in IDF < 6.0 is used only to access USB PHY
2
+# 2. USB PHY was removed from the usb component in IDF 6.0 to esp_hw_support
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