Skip to content

Commit 6ab7033

Browse files
committed
Fix esp-df commit to last working on IDF v4.4
1 parent 7f8dda8 commit 6ab7033

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tools/update-components.sh

+3-9
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,9 @@ if [ $? -ne 0 ]; then exit 1; fi
6969
#
7070
echo "Updating ESP-DL..."
7171
if [ ! -d "$AR_COMPS/esp-dl" ]; then
72-
git clone $DL_REPO_URL "$AR_COMPS/esp-dl"
73-
else
74-
git -C "$AR_COMPS/esp-dl" fetch && \
75-
git -C "$AR_COMPS/esp-dl" pull --ff-only
76-
fi
77-
if [ $? -ne 0 ]; then exit 1; fi
78-
#this is a temp measure to fix build issue
79-
if [ -f "$AR_COMPS/esp-dl/idf_component.yml" ]; then
80-
rm -rf "$AR_COMPS/esp-dl/idf_component.yml"
72+
git clone $DL_REPO_URL "$AR_COMPS/esp-dl" && \
73+
git -C "$AR_COMPS/esp-dl" reset --hard 0632d2447dd49067faabe9761d88fa292589d5d9
74+
if [ $? -ne 0 ]; then exit 1; fi
8175
fi
8276

8377
#

0 commit comments

Comments
 (0)