mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-21 10:28:04 +00:00
ci(esp32p4): Add missing ESP32-P4 entries
This commit is contained in:
parent
488740b45a
commit
72643fa87f
1
.github/scripts/on-push.sh
vendored
1
.github/scripts/on-push.sh
vendored
@ -91,6 +91,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#build sketches for different targets
|
#build sketches for different targets
|
||||||
|
build "esp32p4" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
||||||
build "esp32s3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
build "esp32s3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
||||||
build "esp32s2" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
build "esp32s2" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
||||||
build "esp32c3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
build "esp32c3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
||||||
|
4
.github/scripts/sketch_utils.sh
vendored
4
.github/scripts/sketch_utils.sh
vendored
@ -89,6 +89,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
|
|||||||
esp32c3_opts="PartitionScheme=huge_app,FlashMode=dio"
|
esp32c3_opts="PartitionScheme=huge_app,FlashMode=dio"
|
||||||
esp32c6_opts="PartitionScheme=huge_app,FlashMode=dio"
|
esp32c6_opts="PartitionScheme=huge_app,FlashMode=dio"
|
||||||
esp32h2_opts="PartitionScheme=huge_app,FlashMode=dio"
|
esp32h2_opts="PartitionScheme=huge_app,FlashMode=dio"
|
||||||
|
esp32p4_opts="PartitionScheme=huge_app,FlashMode=dio"
|
||||||
|
|
||||||
# Select the common part of the FQBN based on the target. The rest will be
|
# Select the common part of the FQBN based on the target. The rest will be
|
||||||
# appended depending on the passed options.
|
# appended depending on the passed options.
|
||||||
@ -112,6 +113,9 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
|
|||||||
"esp32h2")
|
"esp32h2")
|
||||||
fqbn="espressif:esp32:esp32h2:${options:-$esp32h2_opts}"
|
fqbn="espressif:esp32:esp32h2:${options:-$esp32h2_opts}"
|
||||||
;;
|
;;
|
||||||
|
"esp32p4")
|
||||||
|
fqbn="espressif:esp32:esp32p4:${options:-$esp32p4_opts}"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Make it look like a JSON array.
|
# Make it look like a JSON array.
|
||||||
|
3
.github/workflows/lib.yml
vendored
3
.github/workflows/lib.yml
vendored
@ -42,6 +42,7 @@ jobs:
|
|||||||
- esp32s3
|
- esp32s3
|
||||||
- esp32c6
|
- esp32c6
|
||||||
- esp32h2
|
- esp32h2
|
||||||
|
- esp32p4
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- target: esp32
|
- target: esp32
|
||||||
@ -56,6 +57,8 @@ jobs:
|
|||||||
fqbn: espressif:esp32:esp32c6
|
fqbn: espressif:esp32:esp32c6
|
||||||
- target: esp32h2
|
- target: esp32h2
|
||||||
fqbn: espressif:esp32:esp32h2
|
fqbn: espressif:esp32:esp32h2
|
||||||
|
- target: esp32p4
|
||||||
|
fqbn: espressif:esp32:esp32p4
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -88,7 +88,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
type: ${{ fromJson(needs.gen-matrix.outputs.build-types) }}
|
type: ${{ fromJson(needs.gen-matrix.outputs.build-types) }}
|
||||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
|
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
|
||||||
with:
|
with:
|
||||||
type: ${{ matrix.type }}
|
type: ${{ matrix.type }}
|
||||||
chip: ${{ matrix.chip }}
|
chip: ${{ matrix.chip }}
|
||||||
@ -105,7 +105,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
type: ${{ fromJson(needs.gen-matrix.outputs.hw-types) }}
|
type: ${{ fromJson(needs.gen-matrix.outputs.hw-types) }}
|
||||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
|
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
|
||||||
with:
|
with:
|
||||||
type: ${{ matrix.type }}
|
type: ${{ matrix.type }}
|
||||||
chip: ${{ matrix.chip }}
|
chip: ${{ matrix.chip }}
|
||||||
|
2
.github/workflows/tests_wokwi.yml
vendored
2
.github/workflows/tests_wokwi.yml
vendored
@ -165,7 +165,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
type: ['validation']
|
type: ['validation']
|
||||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
|
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
|
||||||
steps:
|
steps:
|
||||||
- name: Report pending
|
- name: Report pending
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
|
Loading…
Reference in New Issue
Block a user