File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ if [ $? -ne 0 ]; then exit 1; fi
73
73
#
74
74
# remove code and libraries not needed/wanted for Tasmota framework
75
75
#
76
+ rm -rf " $AR_COMPS /arduino/docs"
77
+ rm -rf " $AR_COMPS /arduino/idf_component_examples"
78
+ rm -rf " $AR_COMPS /arduino/package"
79
+ rm -rf " $AR_COMPS /arduino/tests"
76
80
rm -rf " $AR_COMPS /arduino/cores/esp32/chip-debug-report.cpp"
77
81
rm -rf " $AR_COMPS /arduino/cores/esp32/chip-debug-report.h"
78
82
rm -rf " $AR_COMPS /arduino/libraries/RainMaker"
@@ -85,7 +89,13 @@ rm -rf "$AR_COMPS/arduino/libraries/BluetoothSerial"
85
89
rm -rf " $AR_COMPS /arduino/libraries/WiFiProv"
86
90
rm -rf " $AR_COMPS /arduino/libraries/WiFiClientSecure"
87
91
rm -rf " $AR_COMPS /arduino/libraries/NetworkClientSecure"
92
+ rm -rf " $AR_COMPS /arduino/libraries/USB"
88
93
rm -rf " $AR_COMPS /arduino/libraries/ESP32"
89
94
rm -rf " $AR_COMPS /arduino/libraries/ESP_SR"
90
95
rm -rf " $AR_COMPS /arduino/libraries/ESP_NOW"
91
96
rm -rf " $AR_COMPS /arduino/libraries/TFLiteMicro"
97
+
98
+ # Patch to remove USB from Arduino CMakeLists.txt
99
+ cd " $AR_COMPS /arduino"
100
+ patch -p1 -N -i ../../patches/Arduino_CMakeLists.diff
101
+ cd -
You can’t perform that action at this time.
0 commit comments