mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
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:
parent
53ed7bf7ed
commit
906278e310
11 changed files with 1028 additions and 17 deletions
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue