Skip to content

Commit 86eb776

Browse files
committed
Enable hardware test on ESP32-S3
1 parent f61b0eb commit 86eb776

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/scripts/sketch_utils.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <fqbn> <path-to-i
88
fi
99

1010
ARDUINO_CACHE_DIR="$HOME/.arduino/cache.tmp"
11+
ARDUINO_BUILD_DIR="$HOME/.arduino/build.tmp"
1112
local ide_path=$1
1213
local usr_path=$2
1314
local fqbn=$3
1415
local sketch=$4
1516
local xtra_opts=$5
1617
local win_opts=$6
1718

18-
build_dir="$(dirname $sketch)/build"
19-
mkdir -p "$build_dir"
19+
rm -rf "$ARDUINO_BUILD_DIR"
20+
mkdir -p "$ARDUINO_BUILD_DIR"
2021
mkdir -p "$ARDUINO_CACHE_DIR"
2122
$ide_path/arduino-builder -compile -logger=human -core-api-version=10810 \
2223
-fqbn=$fqbn \
@@ -28,7 +29,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <fqbn> <path-to-i
2829
-hardware "$usr_path/hardware" \
2930
-libraries "$usr_path/libraries" \
3031
-build-cache "$ARDUINO_CACHE_DIR" \
31-
-build-path "$build_dir" \
32+
-build-path "$ARDUINO_BUILD_DIR" \
3233
$win_opts $xtra_opts "$sketch"
3334
}
3435

.github/workflows/hil.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
chip: ['esp32', 'esp32s2', 'esp32c3']
50+
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3']
5151
chunks: ${{fromJson(needs.gen_chunks.outputs.chunks)}}
5252

5353
steps:
@@ -71,7 +71,7 @@ jobs:
7171
strategy:
7272
fail-fast: false
7373
matrix:
74-
chip: ['esp32', 'esp32s2', 'esp32c3']
74+
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3']
7575
chunks: ${{fromJson(needs.gen_chunks.outputs.chunks)}}
7676
container:
7777
image: python:3.10.1-bullseye

0 commit comments

Comments
 (0)