Skip to content

Commit c04b782

Browse files
committed
rm components
1 parent 37eb31b commit c04b782

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

tools/install-esp-idf.sh

+15-2
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,24 @@ if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
6969
patch -p1 -N -i ../patches/esp32s2_i2c_ll_master_init.diff
7070
cd -
7171

72-
# Get the exact IDF version from file "version.txt"
72+
# remove code and component(s) not needed/wanted for Tasmota framework solo1
73+
cd $IDF_PATH
74+
rm -rf components/usb
75+
rm -rf components/esp-gdbstub
76+
rm -rf components/openthread
77+
rm -rf components/espcoredump
78+
rm -rf components/esp_lcd
79+
rm -rf components/touch_element
80+
rm -rf components/perfmon
81+
rm -rf components/riscv
82+
rm -rf components/app_trace
83+
cd -
84+
85+
# Get the exact IDF version from file "version.txt"
7386
cd $IDF_PATH
7487
export IDF_VERSION=$(<version.txt)
7588
echo "IDF version: $IDF_VERSION"
76-
cd -
89+
cd -
7790
fi
7891

7992
#

0 commit comments

Comments
 (0)