From fbe30b2453a4bdbacd091aa1804b416bcb4e0706 Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Sat, 22 Jul 2023 21:58:29 +0100 Subject: Add notes about setting chip name correctly for examples. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index b05e55aa5..28407b8bc 100644 --- a/README.md +++ b/README.md @@ -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: -- cgit