diff --git a/README.md b/README.md index 53bb6c0..594dc1a 100644 --- a/README.md +++ b/README.md @@ -125,13 +125,15 @@ cargo run -p c1minimal ## Building the firmware -Dependencies: Rust +Dependencies: [Rust/rustup](https://rustup.rs/), pkg-config, libudev Prepare Rust toolchain (once): ```sh rustup target install thumbv6m-none-eabi cargo install flip-link +cargo install cargo-make +cargo install elf2uf2-rs ``` Build: @@ -152,12 +154,15 @@ cargo make --cwd c1minimal uf2 ## Building the Application -Dependencies: Rust, pkg-config, libudev +Dependencies: [Rust/rustup](https://rustup.rs/), pkg-config, libudev Currently have to specify the build target because it's not possible to specify a per package build target. Tracking issue: https://github.com/rust-lang/cargo/issues/9406 ``` +# Install cargo-make to help build it +cargo install cargo-make + # Build it > cargo make --cwd inputmodule-control