summaryrefslogtreecommitdiff
path: root/bootloader/create_dfu.sh
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-05-24 17:47:07 +0200
committerJF <jf@codingfield.com>2020-05-24 17:47:07 +0200
commit00451ef05b7b793c7cd098cc3834c6874c51e56e (patch)
tree6e40121de12dafc5143d5228f771423b10323ddd /bootloader/create_dfu.sh
parent4154dae01acfd4f377101858c1b9b9faf0d1fdcd (diff)
Add example scripts to generate mcuboot image, dfu file and program them with openocd.
Diffstat (limited to 'bootloader/create_dfu.sh')
-rwxr-xr-xbootloader/create_dfu.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/create_dfu.sh b/bootloader/create_dfu.sh
new file mode 100755
index 00000000..078234e4
--- /dev/null
+++ b/bootloader/create_dfu.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application image.bin dfu.zip \ No newline at end of file