aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaobo Gu <[email protected]>2025-12-08 21:27:38 +0800
committerHaobo Gu <[email protected]>2025-12-08 21:30:04 +0800
commita2b9df58483531a5eb7be701a6f6c3f1a772b4ca (patch)
tree5e40ab6611c0d2d7ba3dec3d944cee36bd34dab7
parent8cf8b2406d4be014d466a9318303a65c5c7ff076 (diff)
chore: remove jlink script in nRF54LM20A example, use probe-rs instead
Signed-off-by: Haobo Gu <[email protected]> chore: remove jlink script in nRF54LM20A example, use probe-rs instead Signed-off-by: Haobo Gu <[email protected]>
-rw-r--r--examples/nrf54lm20/.cargo/config.toml5
-rwxr-xr-xexamples/nrf54lm20/run.sh15
2 files changed, 2 insertions, 18 deletions
diff --git a/examples/nrf54lm20/.cargo/config.toml b/examples/nrf54lm20/.cargo/config.toml
index e26853bef..0ffebed14 100644
--- a/examples/nrf54lm20/.cargo/config.toml
+++ b/examples/nrf54lm20/.cargo/config.toml
@@ -1,7 +1,6 @@
1[target.'cfg(all(target_arch = "arm", target_os = "none"))'] 1[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2# runner = "probe-rs run --chip nrf54lm20" 2# Note: it needs the latest git version of probe-rs
3# probe-rs doesn't support nRF54LM20A right now, so jlink is needed 3runner = "probe-rs run --chip nrf54lm20a"
4runner = "./run.sh"
5 4
6[build] 5[build]
7target = "thumbv8m.main-none-eabihf" 6target = "thumbv8m.main-none-eabihf"
diff --git a/examples/nrf54lm20/run.sh b/examples/nrf54lm20/run.sh
deleted file mode 100755
index 2386163a7..000000000
--- a/examples/nrf54lm20/run.sh
+++ /dev/null
@@ -1,15 +0,0 @@
1cp $1 $1.elf
2
3ELF_FILE="$1.elf"
4
5JLinkExe <<EOF
6Device nrf54lm20a_m33
7SelectInterface SWD
8Speed 4000
9LoadFile ${ELF_FILE}
10r
11g
12q
13EOF
14
15defmt-print -e $1 tcp \ No newline at end of file