From d9eebf70ebeeacdc81e7d1848f056e382f0ded43 Mon Sep 17 00:00:00 2001 From: Connie Date: Thu, 2 May 2024 11:56:01 -0400 Subject: [PATCH] update Readme.md --- readme.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 61c7203..4989772 100644 --- a/readme.md +++ b/readme.md @@ -15,13 +15,23 @@ use `winget install git` in windows Since we have private dependencies, we need to login to use git from system. Add following to `~/.cargo/config`: -```toml +``` toml [net] git-fetch-with-cli = true - ``` + Make sure you have valid ssh keys in your system and git account. +### Use nightly version of Rust + +Type `rustup default nightly` in command window + +### Install target + +Type `rustup target add thumbv8m.main-none-eabihf` in command window + + + ## Build ```bash @@ -33,10 +43,11 @@ Currently we only support very few chips. ## Flash and Run -You need probe-rs to flash and run the code. Install it with: +You need `probe-rs` to flash and run the code. Install it with: ```bash -cargo install probe-rs-cli +cargo install cargo-binstall +cargo binstall probe-rs ``` Or you can install with `cargo binstall probe-rs"