8000
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 7a53c2d commit 5bfbcfcCopy full SHA for 5bfbcfc
CMakeLists.txt
@@ -161,8 +161,11 @@ set(includedirs
161
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS})
162
set(priv_includes cores/esp32/libb64)
163
set(requires spi_flash mbedtls mdns esp_adc_cal)
164
-set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support openssl bt arduino_tinyusb main)
+set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support openssl bt main)
165
166
+if(IDF_TARGET MATCHES "esp32s2|esp32s3" AND CONFIG_TINYUSB_ENABLED)
167
+ list(APPEND priv_requires arduino_tinyusb)
168
+endif()
169
if(NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_ArduinoOTA)
170
list(APPEND priv_requires esp_https_ota)
171
endif()
0 commit comments