File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -69,3 +69,21 @@ if [ -z $AR_BRANCH ]; then
69
69
fi
70
70
71
71
if [ $? -ne 0 ]; then exit 1; fi
72
+
73
+ #
74
+ # remove code and libraries not needed/wanted for a small framework
75
+ #
76
+ rm -rf " $AR_COMPS /arduino/docs"
77
+ rm -rf " $AR_COMPS /arduino/idf_component_examples"
78
+ rm -rf " $AR_COMPS /arduino/tests"
79
+ rm -rf " $AR_COMPS /arduino/libraries/RainMaker"
80
+ rm -rf " $AR_COMPS /arduino/libraries/Insights"
81
+ rm -rf " $AR_COMPS /arduino/libraries/ESP32"
82
+ rm -rf " $AR_COMPS /arduino/libraries/ESP_SR"
83
+ rm -rf " $AR_COMPS /arduino/libraries/TFLiteMicro"
84
+ rm -rf " $AR_COMPS /arduino/libraries/OpenThread"
85
+
86
+ #
87
+ # A modified Arduino component file is needed. Not wanted components removed. Else compile fails
88
+ #
89
+ cp -f " $AR_PATCHES /arduino_component.yml" " $AR_COMPS /idf_component.yml"
You can’t perform that action at this time.
0 commit comments