We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffa7e98 commit 3639e68Copy full SHA for 3639e68
tools/install-esp-idf.sh
@@ -37,7 +37,7 @@ if [ ! -d "$IDF_PATH" ]; then
37
idf_was_installed="1"
38
else
39
# update existing branch
40
- echo "ESP-IDF is already installed, updating branch '$IDF_BRANCH'"
+ echo "ESP-IDF is already installed, updating branch $IDF_BRANCH"
41
cd $IDF_PATH
42
git pull
43
git reset --hard $IDF_BRANCH
@@ -68,6 +68,12 @@ if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
68
69
patch -p1 -N -i ../patches/esp32s2_i2c_ll_master_init.diff
70
cd -
71
+
72
+ # Get the exact IDF version from file "version.txt"
73
+ cd $IDF_PATH
74
+ export IDF_VERSION=$(<version.txt)
75
+ echo "IDF version: $IDF_VERSION"
76
+ cd -
77
fi
78
79
#
0 commit comments