use test for specific board
This commit is contained in:
parent
253aa80a72
commit
b51f7f449d
3 changed files with 32 additions and 2 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -32,8 +32,8 @@ jobs:
|
||||||
uses: wokwi/wokwi-ci-action@v1
|
uses: wokwi/wokwi-ci-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.WOKWI_CLI_TOKEN }}
|
token: ${{ secrets.WOKWI_CLI_TOKEN }}
|
||||||
# path: boards/${{ matrix.board }}
|
path: boards/${{ matrix.board }}
|
||||||
# elf: build.${{ matrix.board }}/${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin
|
elf: build.${{ matrix.board }}/${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin
|
||||||
timeout: 30000
|
timeout: 30000
|
||||||
expect_text: 'End of testing application.'
|
expect_text: 'End of testing application.'
|
||||||
fail_text: 'Error'
|
fail_text: 'Error'
|
||||||
|
|
|
||||||
23
boards/esp32c3-devkit/diagram.json
Normal file
23
boards/esp32c3-devkit/diagram.json
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"author": "Uri Shaked",
|
||||||
|
"editor": "wokwi",
|
||||||
|
"parts": [
|
||||||
|
{
|
||||||
|
"type": "board-esp32-c3-devkitm-1",
|
||||||
|
"id": "esp"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"connections": [
|
||||||
|
[
|
||||||
|
"esp:TX",
|
||||||
|
"$serialMonitor:RX",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"esp:RX",
|
||||||
|
"$serialMonitor:TX",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
7
boards/esp32c3-devkit/wokwi.toml
Normal file
7
boards/esp32c3-devkit/wokwi.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Wokwi Configuration File
|
||||||
|
# Reference: https://docs.wokwi.com/vscode/project-config
|
||||||
|
[wokwi]
|
||||||
|
version = 1
|
||||||
|
firmware = 'build/flasher_args.json'
|
||||||
|
elf = 'build/esp32-c3-lua-test.elf'
|
||||||
|
gdbServerPort=3333
|
||||||
Loading…
Add table
Add a link
Reference in a new issue