Skip to content

Commit 72643fa

Browse files
committed
ci(esp32p4): Add missing ESP32-P4 entries
1 parent 488740b commit 72643fa

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

.github/scripts/on-push.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
9191
fi
9292

9393
#build sketches for different targets
94+
build "esp32p4" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
9495
build "esp32s3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
9596
build "esp32s2" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
9697
build "esp32c3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"

.github/scripts/sketch_utils.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
8989
esp32c3_opts="PartitionScheme=huge_app,FlashMode=dio"
9090
esp32c6_opts="PartitionScheme=huge_app,FlashMode=dio"
9191
esp32h2_opts="PartitionScheme=huge_app,FlashMode=dio"
92+
esp32p4_opts="PartitionScheme=huge_app,FlashMode=dio"
9293

9394
# Select the common part of the FQBN based on the target. The rest will be
9495
# appended depending on the passed options.
@@ -112,6 +113,9 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
112113
"esp32h2")
113114
fqbn="espressif:esp32:esp32h2:${options:-$esp32h2_opts}"
114115
;;
116+
"esp32p4")
117+
fqbn="espressif:esp32:esp32p4:${options:-$esp32p4_opts}"
118+
;;
115119
esac
116120

117121
# Make it look like a JSON array.

.github/workflows/lib.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
- esp32s3
4343
- esp32c6
4444
- esp32h2
45+
- esp32p4
4546

4647
include:
4748
- target: esp32
@@ -56,6 +57,8 @@ jobs:
5657
fqbn: espressif:esp32:esp32c6
5758
- target: esp32h2
5859
fqbn: espressif:esp32:esp32h2
60+
- target: esp32p4
61+
fqbn: espressif:esp32:esp32p4
5962

6063

6164
steps:

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
strategy:
8989
matrix:
9090
type: ${{ fromJson(needs.gen-matrix.outputs.build-types) }}
91-
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
91+
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
9292
with:
9393
type: ${{ matrix.type }}
9494
chip: ${{ matrix.chip }}
@@ -105,7 +105,7 @@ jobs:
105105
fail-fast: false
106106
matrix:
107107
type: ${{ fromJson(needs.gen-matrix.outputs.hw-types) }}
108-
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
108+
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
109109
with:
110110
type: ${{ matrix.type }}
111111
chip: ${{ matrix.chip }}

.github/workflows/tests_wokwi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
fail-fast: false
166166
matrix:
167167
type: ['validation']
168-
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
168+
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
169169
steps:
170170
- name: Report pending
171171
uses: actions/github-script@v7

0 commit comments

Comments
 (0)