From f7bcb3d228748fabe043b602212ddad81f8035bd Mon Sep 17 00:00:00 2001
From: Sam <samuel@plaindocs.com>
Date: Mon, 14 Oct 2024 13:00:08 +0300
Subject: [PATCH 1/3] Update nrf52-tools.md

---
 exercise-book/src/nrf52-tools.md | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/exercise-book/src/nrf52-tools.md b/exercise-book/src/nrf52-tools.md
index 2ea164cd..cd0c9c6d 100644
--- a/exercise-book/src/nrf52-tools.md
+++ b/exercise-book/src/nrf52-tools.md
@@ -175,8 +175,16 @@ Bus 002 Device 015: ID 1366:1051 <- J-Link on the nRF52840 Development Kit
 (...) random other USB devices will be listed
 ```
 
-✅ In the terminal run the following command from the [`nrf52-code/radio-app`](../../nrf52-code/radio-app) folder. This will build and run a simple program on the DK to test the set-up.
+✅ In the terminal run `cargo run --bin hello -- --allow-erase-all` from the [`nrf52-code/radio-app`](../../nrf52-code/radio-app) folder, to build and run a simple program on the DK to test the set-up.
 
 ```console
-cargo run --bin hello
+❯ cargo run --bin hello -- --allow-erase-all
+    Finished `dev` profile [optimized + debuginfo] target(s) in 0.06s
+     Running `probe-rs run --chip nRF52840_xxAA target/thumbv7em-none-eabihf/debug/hello --allow-erase-all`
+      Erasing ✔ [00:00:00] [################################################] 8.00 KiB/8.00 KiB @ 31.22 KiB/s (eta 0s )
+  Programming ✔ [00:00:00] [################################################] 8.00 KiB/8.00 KiB @ 36.25 KiB/s (eta 0s )    Finished in 0.496s
+<lvl> Hello, world!
+└─ hello::__cortex_m_rt_main @ src/bin/hello.rs:21  
+<lvl> `dk::exit()` called; exiting ...
+└─ dk::exit @ /home/samuel/src/ferrous/rust-exercises/nrf52-code/boards/dk/src/lib.rs:415 
 ```

From 3808ef1455b87212f492d4119bf5e4ef406ef102 Mon Sep 17 00:00:00 2001
From: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
Date: Fri, 18 Oct 2024 13:43:57 +0100
Subject: [PATCH 2/3] Remove --allow-erase-all

---
 exercise-book/src/nrf52-tools.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exercise-book/src/nrf52-tools.md b/exercise-book/src/nrf52-tools.md
index cd0c9c6d..86c61902 100644
--- a/exercise-book/src/nrf52-tools.md
+++ b/exercise-book/src/nrf52-tools.md
@@ -175,7 +175,7 @@ Bus 002 Device 015: ID 1366:1051 <- J-Link on the nRF52840 Development Kit
 (...) random other USB devices will be listed
 ```
 
-✅ In the terminal run `cargo run --bin hello -- --allow-erase-all` from the [`nrf52-code/radio-app`](../../nrf52-code/radio-app) folder, to build and run a simple program on the DK to test the set-up.
+✅ In the terminal run `cargo run --bin hello` from the [`nrf52-code/radio-app`](../../nrf52-code/radio-app) folder, to build and run a simple program on the DK to test the set-up.
 
 ```console
 ❯ cargo run --bin hello -- --allow-erase-all

From 665a463a7ea1e4225dd56fd748bb27b27c45d615 Mon Sep 17 00:00:00 2001
From: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
Date: Fri, 18 Oct 2024 13:44:18 +0100
Subject: [PATCH 3/3] Remove --allow-erase-all

---
 exercise-book/src/nrf52-tools.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exercise-book/src/nrf52-tools.md b/exercise-book/src/nrf52-tools.md
index 86c61902..3aa86ec3 100644
--- a/exercise-book/src/nrf52-tools.md
+++ b/exercise-book/src/nrf52-tools.md
@@ -178,7 +178,7 @@ Bus 002 Device 015: ID 1366:1051 <- J-Link on the nRF52840 Development Kit
 ✅ In the terminal run `cargo run --bin hello` from the [`nrf52-code/radio-app`](../../nrf52-code/radio-app) folder, to build and run a simple program on the DK to test the set-up.
 
 ```console
-❯ cargo run --bin hello -- --allow-erase-all
+❯ cargo run --bin hello
     Finished `dev` profile [optimized + debuginfo] target(s) in 0.06s
      Running `probe-rs run --chip nRF52840_xxAA target/thumbv7em-none-eabihf/debug/hello --allow-erase-all`
       Erasing ✔ [00:00:00] [################################################] 8.00 KiB/8.00 KiB @ 31.22 KiB/s (eta 0s )