chore: Add rustfmt config
This commit is contained in:
parent
93f3cce9e4
commit
c589605407
2 changed files with 12 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ Displays different C-ITS receive-only use cases for cheap.
|
|||
### Toolchain Installation
|
||||
Install the toolchain, targe and tools like this:
|
||||
|
||||
```
|
||||
```shell
|
||||
rustup toolchain install nightly --component rust-src
|
||||
rustup target add riscv32imac-unknown-none-elf
|
||||
|
||||
|
|
@ -18,6 +18,11 @@ cargo install espflash --locked
|
|||
|
||||
(Project was setup using esp-generate with the options `--chip esp32c5 -o esp32c5-wroom-1-psram -o alloc -o log -o unstable-hal -o wifi -o esp-backtrace -o embassy`.)
|
||||
|
||||
To use the proper rustfmt features, enable the nightly toolchain:
|
||||
```shell
|
||||
rustup component add --toolchain nightly rustfmt
|
||||
```
|
||||
|
||||
### Build and Flash
|
||||
Connect your ESP32-C5 and run:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue