From ad3a034b9fe08cf662e57ee013a6b4e9afe75fd2 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Sun, 13 Oct 2024 13:54:21 +0800 Subject: [PATCH] README: Add cargo and native dependencies Signed-off-by: Daniel Schaefer --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7e2b777..5388cef 100644 --- a/README.md +++ b/README.md @@ -125,9 +125,7 @@ cargo run -p c1minimal ## Building the firmware -Dependencies: Rust - -Download and install [rustup](https://rustup.rs/) if necessary. +Dependencies: [Rust/rustup](https://rustup.rs/), pkg-config, libudev Prepare Rust toolchain (once): @@ -156,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