Skip to content

Commit 333061d

Browse files
authored
Update install-esp-idf.sh
1 parent 2990c3f commit 333061d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/install-esp-idf.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ fi
6262

6363
if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
6464
git submodule update --recursive
65-
export IDF_VERSION = $((python3 ./tools/get_idf_ver.py -p "$IDF_PATH/tools/cmake/version.cmake") 2> &1)
65+
python3 ./tools/get_idf_ver.py -p "$IDF_PATH/tools/cmake/version.cmake" 2> version.txt
66+
export IDF_VERSION=$(<version.txt)
67+
echo "IDF version: $IDF_VERSION"
6668
$IDF_PATH/install.sh
67-
# python3 ./tools/get_idf_ver.py -p "$IDF_PATH/tools/cmake/version.cmake"
6869
echo "******* IDF version: $IDF_VERSION *********"
6970

7071
# 1) Temporarily patch the ESP32-S2 I2C LL driver to keep the clock source

0 commit comments

Comments
 (0)