File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ if [ ! -d "$IDF_PATH" ]; then
37
37
idf_was_installed=" 1"
38
38
else
39
39
# update existing branch
40
- echo " ESP-IDF is already installed, updating branch ' $IDF_BRANCH ' "
40
+ echo " ESP-IDF is already installed, updating branch $IDF_BRANCH "
41
41
cd $IDF_PATH
42
42
git pull
43
43
git reset --hard $IDF_BRANCH
61
61
#
62
62
63
63
if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
64
- git submodule update --recursive
64
+ git submodule update --recursive
65
65
$IDF_PATH /install.sh
66
66
67
- # Temporarily patch the ESP32-S2 I2C LL driver to keep the clock source
67
+ # 1) Temporarily patch the ESP32-S2 I2C LL driver to keep the clock source
68
+ # 2) Temporarily fix for mmu map and late init of psram https://github.com/espressif/arduino-esp32/issues/9936
68
69
cd $IDF_PATH
69
- patch -p1 -N -i " $AR_ROOT /patches/esp32s2_i2c_ll_master_init.diff"
70
+ patch -p1 -N -i ../patches/esp32s2_i2c_ll_master_init.diff
71
+ patch -p1 -N -i ../patches/mmu_map.diff
72
+ patch -p1 -N -i ../patches/lwip_max_tcp_pcb.diff
70
73
cd -
71
74
72
- # Patch to use the framework included "framework-arduinoespressif32-libs"
75
+ # Patch to use the framework included "framework-arduinoespressif32-libs"
76
+ # Get the exact IDF version from file "version.txt"
73
77
cd " $AR_COMPS /arduino"
78
+ cd $IDF_PATH
74
79
patch -p1 -N -i " $AR_ROOT /patches/platformio-build.diff"
80
+ export IDF_VERSION=$( < version.txt)
75
81
cd -
82
+
83
+ # Get the exact IDF version from file "version.txt"
84
+ cd $IDF_PATH
85
+ export IDF_VERSION=$( < version.txt)
86
+ echo " IDF version: $IDF_VERSION "
87
+ cd -
76
88
fi
77
89
78
90
#
You can’t perform that action at this time.
0 commit comments