update Readme.md
This commit is contained in:
parent
fc6f2aff34
commit
d9eebf70eb
19
readme.md
19
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user