|
| 1 | +diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 2 | +index d3972bf06a..3813da3468 100644 |
| 3 | +--- a/CMakeLists.txt |
| 4 | ++++ b/CMakeLists.txt |
| 5 | +@@ -95,7 +95,6 @@ set(ARDUINO_ALL_LIBRARIES |
| 6 | + SPI |
| 7 | + Ticker |
| 8 | + Update |
| 9 | +- USB |
| 10 | + WebServer |
| 11 | + WiFi |
| 12 | + Wire |
| 13 | +@@ -149,17 +148,6 @@ set(ARDUINO_LIBRARY_Update_SRCS |
| 14 | + libraries/Update/src/Updater.cpp |
| 15 | + libraries/Update/src/HttpsOTAUpdate.cpp) |
| 16 | + |
| 17 | +-set(ARDUINO_LIBRARY_USB_SRCS |
| 18 | +- libraries/USB/src/USBHID.cpp |
| 19 | +- libraries/USB/src/USBMIDI.cpp |
| 20 | +- libraries/USB/src/USBHIDMouse.cpp |
| 21 | +- libraries/USB/src/USBHIDKeyboard.cpp |
| 22 | +- libraries/USB/src/USBHIDGamepad.cpp |
| 23 | +- libraries/USB/src/USBHIDConsumerControl.cpp |
| 24 | +- libraries/USB/src/USBHIDSystemControl.cpp |
| 25 | +- libraries/USB/src/USBHIDVendor.cpp |
| 26 | +- libraries/USB/src/USBVendor.cpp) |
| 27 | +- |
| 28 | + set(ARDUINO_LIBRARY_WebServer_SRCS |
| 29 | + libraries/WebServer/src/WebServer.cpp |
| 30 | + libraries/WebServer/src/Parsing.cpp |
| 31 | +@@ -247,9 +235,6 @@ function(maybe_add_component component_name) |
| 32 | + endif() |
| 33 | + endfunction() |
| 34 | + |
| 35 | +-if(IDF_TARGET MATCHES "esp32s2|esp32s3" AND CONFIG_TINYUSB_ENABLED) |
| 36 | +- maybe_add_component(arduino_tinyusb) |
| 37 | +-endif() |
| 38 | + if(NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_ArduinoOTA) |
| 39 | + maybe_add_component(esp_https_ota) |
| 40 | + endif() |
0 commit comments