Adjust esp32c3 codegen, bump pac to 0.21.0 (#906)

* 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 <henrik@tjaders.com>
This commit is contained in:
onsdagens 2024-04-04 11:35:41 +02:00 committed by GitHub
parent 53ed7bf7ed
commit 906278e310
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 1028 additions and 17 deletions

View file

@ -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