diff options
| author | Haobo Gu <[email protected]> | 2025-12-08 21:27:38 +0800 |
|---|---|---|
| committer | Haobo Gu <[email protected]> | 2025-12-08 21:30:04 +0800 |
| commit | a2b9df58483531a5eb7be701a6f6c3f1a772b4ca (patch) | |
| tree | 5e40ab6611c0d2d7ba3dec3d944cee36bd34dab7 /examples/nrf54lm20 | |
| parent | 8cf8b2406d4be014d466a9318303a65c5c7ff076 (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]>
Diffstat (limited to 'examples/nrf54lm20')
| -rw-r--r-- | examples/nrf54lm20/.cargo/config.toml | 5 | ||||
| -rwxr-xr-x | examples/nrf54lm20/run.sh | 15 |
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 | 3 | runner = "probe-rs run --chip nrf54lm20a" |
| 4 | runner = "./run.sh" | ||
| 5 | 4 | ||
| 6 | [build] | 5 | [build] |
| 7 | target = "thumbv8m.main-none-eabihf" | 6 | target = "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 @@ | |||
| 1 | cp $1 $1.elf | ||
| 2 | |||
| 3 | ELF_FILE="$1.elf" | ||
| 4 | |||
| 5 | JLinkExe <<EOF | ||
| 6 | Device nrf54lm20a_m33 | ||
| 7 | SelectInterface SWD | ||
| 8 | Speed 4000 | ||
| 9 | LoadFile ${ELF_FILE} | ||
| 10 | r | ||
| 11 | g | ||
| 12 | q | ||
| 13 | EOF | ||
| 14 | |||
| 15 | defmt-print -e $1 tcp \ No newline at end of file | ||
