Skip to content

Commit 763d61e

Browse files
authored
Update install-esp-idf.sh
1 parent 52b7567 commit 763d61e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tools/install-esp-idf.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,13 @@ if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
7070
patch -p1 -N -i $AR_PATCHES/esp32s2_i2c_ll_master_init.diff
7171
patch -p1 -N -i $AR_PATCHES/mmu_map.diff
7272
patch -p1 -N -i $AR_PATCHES/lwip_max_tcp_pcb.diff
73-
patch -p1 -N -i $AR_PATCHES/platformio-build.diff
74-
cd -
75-
7673
# Get the exact IDF version from file "version.txt"
77-
cd $IDF_PATH
7874
export IDF_VERSION=$(<version.txt)
79-
echo "IDF version: $IDF_VERSION"
80-
cd -
75+
cd -
76+
# Patch to use the framework included "framework-arduinoespressif32-libs"
77+
cd "$AR_COMPS/arduino"
78+
patch -p1 -N -i $AR_PATCHES/platformio-build.diff
79+
cd -
8180
fi
8281

8382
#

0 commit comments

Comments
 (0)