aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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