From 906278e31026df8874b1b1593af8f92ce6d7e247 Mon Sep 17 00:00:00 2001 From: onsdagens <112828711+onsdagens@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:35:41 +0200 Subject: Adjust esp32c3 codegen, bump pac to 0.21.0 (#906) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * adjust esp32c3 codegen, bump pac to 0.21.0 * add esp32c3 example * adjust workflow flags * CI: Fix esp32c3 comment * esp32c3: Remove commented out git-dep * CI: Actually check the ESP32-C3 examples * Autoformat rtic/cargo.toml --------- Co-authored-by: Henrik Tjäder --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a4ed8f..164c538 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -180,6 +180,35 @@ jobs: if: ${{ matrix.backend != 'riscv32-imc-clint' }} run: cargo xtask --platform hifive1 --backend ${{ matrix.backend }} example-check + # Platform esp32c3: verify all examples, checks + checkexamplesesp32c3: + name: check examples (esp32c3) + runs-on: ubuntu-22.04 + strategy: + matrix: + backend: + - riscv-esp32-c3 + toolchain: + - nightly + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Rust ${{ matrix.toolchain }} + run: | + rustup toolchain install nightly-2023-11-14 --component rust-src --target riscv32imc-unknown-none-elf + + - name: Configure Rust target + run: | + rustup target add riscv32imc-unknown-none-elf + + - name: Cache Dependencies + uses: Swatinem/rust-cache@v2 + + - name: Check the examples + run: cargo xtask --platform esp32-c3 --backend ${{ matrix.backend }} example-check + + buildqemu: name: Get modern QEMU, build and store runs-on: ubuntu-22.04 @@ -797,6 +826,7 @@ jobs: # clippyhifive1 TODO - checkexampleslm3s6965 - checkexampleshifive1 + - checkexamplesesp32c3 - testexampleslm3s6965 - testexampleshifive1 - tests -- cgit v1.2.3