0
0
Fork 0

chore: Add rustfmt config

This commit is contained in:
Jannik Beyerstedt 2026-05-11 22:22:39 +02:00
commit c589605407
2 changed files with 12 additions and 1 deletions

View file

@ -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: