summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLee Lup Yuen <luppy@appkaki.com>2020-07-28 02:40:34 (GMT)
committerGitHub <noreply@github.com>2020-07-28 02:40:34 (GMT)
commit4f2e3e1af8df68312b2543cf7e0b426a9023eba8 (patch)
tree4882a47c71665f1065ffa5ed0df5bbca047149da /.github/workflows
parent8d353aa79fbdd910c1dc0d901e0c5c6eb90fb15a (diff)
Clean up
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main2.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml
index b54f125..88ca196 100644
--- a/.github/workflows/main2.yml
+++ b/.github/workflows/main2.yml
@@ -94,6 +94,14 @@ jobs:
name: pinetime-mcuboot-app.bin
# A file, directory or wildcard pattern that describes what to upload
path: build/src/pinetime-mcuboot-app.bin
+
+ # TODO
+ # It must me converted into a MCUBoot image using imgtool.py from MCUBoot. Simply checkout the project and run the script /scripts/imgtool.py with the following command line:
+ # imgtool.py create --align 4 --version 1.0.0 --header-size 32 --slot-size 475136 --pad-header <build directory>/src/pinetime-mcuboot-app.bin image.bin
+ # The image must be then flashed at address 0x8000 in the internal flash memory.
+ # Using OpenOCD:
+ # program image.bin 0x8000
+ # Download imgtool.py from https://github.com/JuulLabs-OSS/mcuboot/tree/master/scripts
#########################################################################################
# Make and upload pinetime-app