Skip to content

Commit bb1e3c0

Browse files
committed
patch pio script for using included libs
1 parent 4dbfc31 commit bb1e3c0

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ version.txt
2121
dependencies.lock
2222
managed_components/
2323
target/
24+
core_version.h
25+
package.json
26+
release-info.txt

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if ! [ -x "$(command -v git)" ]; then
1010
exit 1
1111
fi
1212

13-
TARGET="esp32c2"
13+
TARGET="all"
1414
BUILD_TYPE="all"
1515
SKIP_ENV=0
1616
COPY_OUT=0

tools/install-arduino.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ fi
7070

7171
if [ $? -ne 0 ]; then exit 1; fi
7272

73-
# Patch to use the framework included "framework-arduinoespressif32-libs"
74-
Echo "Patch to use the framework included arduinoespressif32-libs"
75-
cd "$AR_COMPS/arduino"
76-
patch -p1 -N -i ../patches/platformio-build.diff
77-
cd -
7873

7974
#
8075
# CLONE/UPDATE ESP32-ARDUINO-LIBS

tools/install-esp-idf.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,17 @@ fi
6161
#
6262

6363
if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
64-
git submodule update --recursive
64+
git submodule update --recursive
6565
$IDF_PATH/install.sh
6666

6767
# Temporarily patch the ESP32-S2 I2C LL driver to keep the clock source
6868
cd $IDF_PATH
69-
patch -p1 -N -i ../patches/esp32s2_i2c_ll_master_init.diff
69+
patch -p1 -N -i "$AR_ROOT/patches/esp32s2_i2c_ll_master_init.diff"
70+
cd -
71+
72+
# Patch to use the framework included "framework-arduinoespressif32-libs"
73+
cd "$AR_COMPS/arduino"
74+
patch -p1 -N -i "$AR_ROOT/patches/platformio-build.diff"
7075
cd -
7176
fi
7277

0 commit comments

Comments
 (0)