Skip to content

Commit daa71cb

Browse files
Merge branch 'master' into patch-2
2 parents 5a0a7d5 + 77065bf commit daa71cb

File tree

1,713 files changed

+94398
-14744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,713 files changed

+94398
-14744
lines changed

Diff for: .github/ISSUE_TEMPLATE/Issue-report.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ body:
4141
options:
4242
- latest master (checkout manually)
4343
- latest development Release Candidate (RC-X)
44+
- v2.0.4
45+
- v2.0.3
4446
- v2.0.2
4547
- v2.0.1
4648
- v2.0.0
@@ -129,4 +131,4 @@ body:
129131
description: You agree to check all the resources above before opening a new issue.
130132
options:
131133
- label: I confirm I have checked existing issues, online documentation and Troubleshooting guide.
132-
required: true
134+
required: true

Diff for: .github/scripts/on-push.sh

+15-16
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,25 @@ function build(){
1414
local BUILD_SKETCH="${SCRIPTS_DIR}/sketch_utils.sh build"
1515
local BUILD_SKETCHES="${SCRIPTS_DIR}/sketch_utils.sh chunk_build"
1616

17-
local args="$ARDUINO_IDE_PATH $ARDUINO_USR_PATH"
17+
local args="-ai $ARDUINO_IDE_PATH -au $ARDUINO_USR_PATH"
1818

19-
args+=" \"$fqbn\""
19+
args+=" -t $target -fqbn $fqbn"
2020

2121
if [ "$OS_IS_LINUX" == "1" ]; then
22-
args+=" $target"
23-
args+=" $ARDUINO_ESP32_PATH/libraries"
24-
args+=" $chunk_index $chunks_cnt"
22+
args+=" -p $ARDUINO_ESP32_PATH/libraries"
23+
args+=" -i $chunk_index -m $chunks_cnt"
2524
${BUILD_SKETCHES} ${args}
2625
else
27-
if [ "$OS_IS_WINDOWS" == "1" ]; then
28-
local ctags_version=`ls "$ARDUINO_IDE_PATH/tools-builder/ctags/"`
29-
local preprocessor_version=`ls "$ARDUINO_IDE_PATH/tools-builder/arduino-preprocessor/"`
30-
win_opts="-prefs=runtime.tools.ctags.path=$ARDUINO_IDE_PATH/tools-builder/ctags/$ctags_version
31-
-prefs=runtime.tools.arduino-preprocessor.path=$ARDUINO_IDE_PATH/tools-builder/arduino-preprocessor/$preprocessor_version"
32-
args+=" ${win_opts}"
33-
fi
34-
3526
for sketch in ${sketches}; do
36-
${BUILD_SKETCH} ${args} ${sketch}
27+
args+=" -s $(dirname $sketch)"
28+
if [ "$OS_IS_WINDOWS" == "1" ]; then
29+
local ctags_version=`ls "$ARDUINO_IDE_PATH/tools-builder/ctags/"`
30+
local preprocessor_version=`ls "$ARDUINO_IDE_PATH/tools-builder/arduino-preprocessor/"`
31+
win_opts="-prefs=runtime.tools.ctags.path=$ARDUINO_IDE_PATH/tools-builder/ctags/$ctags_version
32+
-prefs=runtime.tools.arduino-preprocessor.path=$ARDUINO_IDE_PATH/tools-builder/arduino-preprocessor/$preprocessor_version"
33+
args+=" ${win_opts}"
34+
fi
35+
${BUILD_SKETCH} ${args}
3736
done
3837
fi
3938
}
@@ -82,7 +81,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
8281
build "esp32s3" $FQBN_ESP32S3 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
8382
build "esp32s2" $FQBN_ESP32S2 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32XX
8483
build "esp32c3" $FQBN_ESP32C3 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32XX
85-
build "esp32" $FQBN_ESP32 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
84+
build "esp32" $FQBN_ESP32 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
8685
else
8786
source ${SCRIPTS_DIR}/install-platformio-esp32.sh
8887
# PlatformIO ESP32 Test
@@ -109,7 +108,7 @@ else
109108
replace_script+="data['packages']['toolchain-xtensa-esp32']['optional']=True;"
110109
replace_script+="data['packages']['toolchain-xtensa-esp32s3']['optional']=False;"
111110
replace_script+="data['packages']['tool-esptoolpy']['owner']='tasmota';"
112-
replace_script+="data['packages']['tool-esptoolpy']['version']='https://github.com/tasmota/esptool/releases/download/v3.3/esptool-3.3.zip';"
111+
replace_script+="data['packages']['tool-esptoolpy']['version']='https://github.com/tasmota/esptool/releases/download/v4.2.1/esptool-4.2.1.zip';"
113112
replace_script+="fp.seek(0);fp.truncate();json.dump(data, fp, indent=2);fp.close()"
114113
python -c "$replace_script"
115114

0 commit comments

Comments
 (0)