Skip to content

Commit 6ca7ace

Browse files
authored
rm not needed components
1 parent 03f7439 commit 6ca7ace

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

tools/install-esp-idf.sh

+17-2
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,26 @@ 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 ITEAD
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+
rm -rf components/ieee802154
84+
rm -rf components/driver/test_apps
85+
cd -
86+
87+
# Get the exact IDF version from file "version.txt"
7388
cd $IDF_PATH
7489
export IDF_VERSION=$(<version.txt)
7590
echo "IDF version: $IDF_VERSION"
76-
cd -
91+
cd -
7792
fi
7893

7994
#

0 commit comments

Comments
 (0)