diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5cdac32..79d2130 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,8 +32,8 @@ jobs: uses: wokwi/wokwi-ci-action@v1 with: token: ${{ secrets.WOKWI_CLI_TOKEN }} - # path: boards/${{ matrix.board }} - # elf: build.${{ matrix.board }}/${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin + path: boards/${{ matrix.board }} + elf: build.${{ matrix.board }}/${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin timeout: 30000 expect_text: 'End of testing application.' fail_text: 'Error' diff --git a/boards/esp32c3-devkit/diagram.json b/boards/esp32c3-devkit/diagram.json new file mode 100644 index 0000000..954a8b9 --- /dev/null +++ b/boards/esp32c3-devkit/diagram.json @@ -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", + "" + ] + ] +} \ No newline at end of file diff --git a/boards/esp32c3-devkit/wokwi.toml b/boards/esp32c3-devkit/wokwi.toml new file mode 100644 index 0000000..fac58dd --- /dev/null +++ b/boards/esp32c3-devkit/wokwi.toml @@ -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