Add example scripts to generate mcuboot image, dfu file and program them with openocd.
This commit is contained in:
parent
4154dae01a
commit
00451ef05b
4 changed files with 43 additions and 0 deletions
3
bootloader/create_image.sh
Executable file
3
bootloader/create_image.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue