Skip to content

Commit 473f5a4

Browse files
committed
ci: Enable P4
1 parent afc7903 commit 473f5a4

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

.github/workflows/hil.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ jobs:
9191
runner: esp32c3-usb
9292
port: usb
9393
host: armv7
94-
# - soc: esp32c5
95-
# runner: esp32c5-usb
96-
# port: usb
97-
# host: aarch64
94+
- soc: esp32c5
95+
runner: esp32c5-usb
96+
port: usb
97+
host: aarch64
9898
- soc: esp32c5
9999
runner: esp32c5-usb
100100
port: uart
@@ -115,14 +115,14 @@ jobs:
115115
runner: esp32h2-usb
116116
port: uart
117117
host: armv7
118-
# - soc: esp32p4
119-
# runner: esp32p4
120-
# port: usb
121-
# host: aarch64
122-
# - soc: esp32p4
123-
# runner: esp32p4
124-
# port: uart
125-
# host: aarch64
118+
- soc: esp32p4
119+
runner: esp32p4
120+
port: usb
121+
host: aarch64
122+
- soc: esp32p4
123+
runner: esp32p4
124+
port: uart
125+
host: aarch64
126126
- soc: esp32
127127
runner: esp32-jtag
128128
port: uart
@@ -160,5 +160,8 @@ jobs:
160160
echo "$PWD/espflash_app" >> "$GITHUB_PATH"
161161
echo "$PWD/xtask_app" >> "$GITHUB_PATH"
162162
163+
- name: Reset the device
164+
run: espflash reset
165+
163166
- name: Run all tests
164167
run: xtask run-tests --chip ${{ matrix.target.soc }} -t 60 --no-build

espflash/tests/data/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,13 @@ cargo build --release
3737

3838
`esp_hal_binary_with_overlapping_defmt_and_embedded_test_sections` is the ESP-HAL `gpio_unstable` test built for ESP32.
3939
This file is used in a unit test in espflash, and is not flashed as a HIL test.
40+
41+
The `esp32c5` and `esp32p4` elf files under this folder have been generated using `esp-idf@v5.5.2`:
42+
```
43+
git clone -b v5.5.2 --recursive https://github.com/espressif/esp-idf.git
44+
cd esp-idf/
45+
./install.sh all
46+
cd examples/get-started/hello_world/
47+
idf.py set-target $CHIP
48+
idf.py build
49+
```

espflash/tests/data/esp32p4

3.54 MB
Binary file not shown.

0 commit comments

Comments
 (0)