diff options
Diffstat (limited to 'examples')
| -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 | ||
