Skip to content

Commit 1f77d42

Browse files
authored
Update Arduino_CMakeLists.diff
1 parent 1e727b1 commit 1f77d42

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

patches/Arduino_CMakeLists.diff

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index d3972bf06a..3813da3468 100644
2+
index 9bccd54051..3475a75dd3 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
55
@@ -95,7 +95,6 @@ set(ARDUINO_ALL_LIBRARIES
@@ -28,6 +28,15 @@ index d3972bf06a..3813da3468 100644
2828
set(ARDUINO_LIBRARY_WebServer_SRCS
2929
libraries/WebServer/src/WebServer.cpp
3030
libraries/WebServer/src/Parsing.cpp
31+
@@ -206,7 +194,7 @@ set(includedirs variants/${CONFIG_ARDUINO_VARIANT}/ cores/esp32/ ${ARDUINO_LIBRA
32+
set(srcs ${CORE_SRCS} ${ARDUINO_LIBRARIES_SRCS})
33+
set(priv_includes cores/esp32/libb64)
34+
set(requires spi_flash esp_partition mbedtls wpa_supplicant esp_adc esp_eth http_parser)
35+
-set(priv_requires fatfs nvs_flash app_update bootloader_support bt esp_hid usb ${ARDUINO_LIBRARIES_REQUIRES})
36+
+set(priv_requires fatfs nvs_flash app_update bootloader_support bt esp_hid ${ARDUINO_LIBRARIES_REQUIRES})
37+
38+
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})
39+
3140
@@ -247,9 +235,6 @@ function(maybe_add_component component_name)
3241
endif()
3342
endfunction()

0 commit comments

Comments
 (0)