Firmware for the b-parasite board, but in Rust!

fix ci

Changed files
+16 -2
.tangled
workflows
+16 -2
.tangled/workflows/test.yml
···
dependencies:
nixpkgs:
- rustup
steps:
- name: Install Nightly
-
command: rustup toolchain install nightly
- name: Install toolchain
-
command: rustup +nightly target install thumbv7em-none-eabihf
- name: Format Check
command: cargo fmt --check
···
dependencies:
nixpkgs:
+
- clang
+
- glibc_multi
+
- libclang
- rustup
+
- rust-bindgen
steps:
- name: Install Nightly
+
command: |
+
rustup toolchain install nightly
- name: Install toolchain
+
command: |
+
rustup +nightly target install thumbv7em-none-eabihf
+
- name: Install flip-link
+
command: |
+
cargo install --locked flip-link
- name: Format Check
command: cargo fmt --check
+
- name: Build
+
command: |
+
export LIBCLANG_PATH="$(nix build nixpkgs#libclang.lib --no-link --print-out-paths)/lib"
+
export BINDGEN_EXTRA_CLANG_ARGS="-I$(nix build nixpkgs#glibc_multi.dev --no-link --print-out-paths)/include"
+
cargo build --release