diff options
| author | JF <jf@codingfield.com> | 2020-05-24 15:47:07 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-05-24 15:47:07 (GMT) |
| commit | 00451ef05b7b793c7cd098cc3834c6874c51e56e (patch) | |
| tree | 6e40121de12dafc5143d5228f771423b10323ddd /bootloader/flash_bootloader_app.sh | |
| parent | 4154dae01acfd4f377101858c1b9b9faf0d1fdcd (diff) | |
Add example scripts to generate mcuboot image, dfu file and program them with openocd.
Diffstat (limited to 'bootloader/flash_bootloader_app.sh')
| -rwxr-xr-x | bootloader/flash_bootloader_app.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/flash_bootloader_app.sh b/bootloader/flash_bootloader_app.sh new file mode 100755 index 0000000..02c7b94 --- /dev/null +++ b/bootloader/flash_bootloader_app.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +/home/jf/nrf52/openocd-code/src/openocd -s /home/jf/nrf52/openocd-code/tcl/ -c "tcl_port disabled" -c "gdb_port 3333" -c "telnet_port 4444" -f /home/jf/nrf52/openocd-code/tcl/interface/jlink.cfg -c "transport select swd" -f /home/jf/nrf52/openocd-code/tcl/target/nrf52.cfg -f booloader_app_jlink.ocd
\ No newline at end of file |
