Add example scripts to generate mcuboot image, dfu file and program them with openocd.

This commit is contained in:
JF
2020-05-24 17:47:07 +02:00
parent 4154dae01a
commit 00451ef05b
4 changed files with 43 additions and 0 deletions

3
bootloader/create_image.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
/home/jf/nrf52/mcuboot/scripts/imgtool.py create --align 4 --version 1.0.0 --header-size 32 --slot-size 475136 --pad-header /home/jf/nrf52/Pinetime/cmake-build-release/src/pinetime-mcuboot-app.bin image.bin