Skip to content

Commit 4753843

Browse files
authored
Update install-esp-idf.sh
1 parent b39d328 commit 4753843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/install-esp-idf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ fi
6363
if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
6464
git submodule update --recursive
6565
$IDF_PATH/install.sh
66+
python3 ./tools/get_idf_ver.py -p "$IDF_PATH/tools/cmake/version.cmake"
67+
echo "******* IDF version: $IDF_VERSION *********"
6668

6769
# 1) Temporarily patch the ESP32-S2 I2C LL driver to keep the clock source
6870
# 2) Temporarily fix for mmu map and late init of psram https://github.com/espressif/arduino-esp32/issues/9936
6971
cd $IDF_PATH
7072
patch -p1 -N -i $AR_PATCHES/esp32s2_i2c_ll_master_init.diff
7173
patch -p1 -N -i $AR_PATCHES/mmu_map.diff
7274
patch -p1 -N -i $AR_PATCHES/lwip_max_tcp_pcb.diff
73-
# Get the exact IDF version from file "version.txt"
74-
export IDF_VERSION=$(<version.txt)
7575
cd -
7676
# Patch to use the framework included "framework-arduinoespressif32-libs"
7777
cd "$AR_COMPS/arduino"

0 commit comments

Comments
 (0)