Add notes about setting chip name correctly for examples.

This commit is contained in:
Adam Greig
2023-07-22 21:58:29 +01:00
parent 603ea9f310
commit fbe30b2453
18 changed files with 42 additions and 19 deletions

View File

@ -111,6 +111,12 @@ cargo install probe-rs --features cli
cd examples/nrf52840
```
- Ensure `Cargo.toml` sets the right feature for the name of the chip you are programming.
If this name is incorrect, the example may fail to run or immediately crash
after being programmed.
- Ensure `.cargo/config.toml` contains the name of the chip you are programming.
- Run the example
For example: