Skip to content

Commit aa0f875

Browse files
authored
Update install-esp-idf.sh
1 parent 8031560 commit aa0f875

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/install-esp-idf.sh

+7
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ else
4949
fi
5050

5151
if [ "$IDF_TAG" ]; then
52+
cd $IDF_PATH
5253
git -C "$IDF_PATH" checkout "tags/$IDF_TAG"
54+
git reset --hard "tags/$IDF_TAG"
55+
git submodule update --recursive
56+
git rm -r $IDF_PATH/components/wifi_provisioning
57+
git rm -r $IDF_PATH/components/spiffs
58+
git commit -m "delete components SPIFFS and wifi-provisioning"
59+
cd -
5360
idf_was_installed="1"
5461
elif [ "$IDF_COMMIT" ]; then
5562
cd $IDF_PATH

0 commit comments

Comments
 (0)