Skip to content

Commit d9cb563

Browse files
authored
Update install-esp-idf.sh
1 parent 110966d commit d9cb563

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,8 +62,9 @@ fi
6262

6363
if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
6464
git submodule update --recursive
65-
$IDF_PATH/install.sh
66-
python3 ./tools/get_idf_ver.py -p "$IDF_PATH/tools/cmake/version.cmake"
65+
export IDF_VERSION = $((python3 ./tools/get_idf_ver.py -p "$IDF_PATH/tools/cmake/version.cmake") 2> &1)
66+
$IDF_PATH/install.sh
67+
# python3 ./tools/get_idf_ver.py -p "$IDF_PATH/tools/cmake/version.cmake"
6768
echo "******* IDF version: $IDF_VERSION *********"
6869
6970
# 1) Temporarily patch the ESP32-S2 I2C LL driver to keep the clock source

0 commit comments

Comments
 (0)