Create DFU package
This commit is contained in:
parent
4233997067
commit
6469566cbe
5
.github/workflows/main2.yml
vendored
5
.github/workflows/main2.yml
vendored
@ -114,11 +114,14 @@ jobs:
|
|||||||
- name: Verify firmware image
|
- name: Verify firmware image
|
||||||
run: ${{ runner.temp }}/mcuboot/scripts/imgtool.py verify build/src/pinetime-mcuboot-app.img
|
run: ${{ runner.temp }}/mcuboot/scripts/imgtool.py verify build/src/pinetime-mcuboot-app.img
|
||||||
|
|
||||||
|
- name: Create DFU package
|
||||||
|
run: adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/src/pinetime-mcuboot-app.img build/src/pinetime-mcuboot-app-dfu.zip
|
||||||
|
|
||||||
- name: Upload pinetime-mcuboot-app
|
- name: Upload pinetime-mcuboot-app
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: pinetime-mcuboot-app.img
|
name: pinetime-mcuboot-app.img
|
||||||
path: build/src/pinetime-mcuboot-app.img
|
path: build/src/pinetime-mcuboot-app-dfu.zip
|
||||||
|
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
# Make and upload pinetime-app
|
# Make and upload pinetime-app
|
||||||
|
Loading…
Reference in New Issue
Block a user