We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76a551b commit f83e0ceCopy full SHA for f83e0ce
.github/workflows/githubci.yml
@@ -48,6 +48,7 @@ jobs:
48
matrix:
49
arduino-platform:
50
# ESP32 ci use dev json
51
+ - 'feather_esp32_v2'
52
- 'feather_esp32s2'
53
- 'feather_esp32s3'
54
- 'esp32p4'
src/arduino/ports/esp32/tusb_config_esp32.h
@@ -99,8 +99,13 @@ extern "C" {
99
100
//--------------------------------------------------------------------
101
// DEVICE CONFIGURATION
102
+// only enabled if USB OTG is supported
103
104
+#if defined(CONFIG_USB_OTG_SUPPORTED) && CONFIG_USB_OTG_SUPPORTED
105
#define CFG_TUD_ENABLED 1
106
+#else
107
+#define CFG_TUD_ENABLED 0
108
+#endif
109
110
#define CFG_TUD_CDC 2
111
#define CFG_TUD_MSC 1
0 commit comments