You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2019/06/21 21:25:32 UTC
[mynewt-artifact] 08/23: Enable production of hex mfgimg files.
This is an automated email from the ASF dual-hosted git repository.
ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-artifact.git
commit 8ba2a3d4a0ccd3c16fb4001ee157206bfdfb99f2
Author: Miguel Azevedo <mi...@gmail.com>
AuthorDate: Sat Mar 23 20:48:18 2019 +0000
Enable production of hex mfgimg files.
---
manifest/mfg_manifest.go | 1 +
mfg/mfg.go | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/manifest/mfg_manifest.go b/manifest/mfg_manifest.go
index b7f00e8..da2d5e9 100644
--- a/manifest/mfg_manifest.go
+++ b/manifest/mfg_manifest.go
@@ -44,6 +44,7 @@ type MfgManifest struct {
Version string `json:"version"`
Device int `json:"device"`
BinPath string `json:"bin_path"`
+ HexPath string `json:"hex_path"`
Bsp string `json:"bsp"`
Signatures []MfgManifestSig `json:"signatures,omitempty"`
FlashAreas []flash.FlashArea `json:"flash_map"`
diff --git a/mfg/mfg.go b/mfg/mfg.go
index 3e29523..d3f5f93 100644
--- a/mfg/mfg.go
+++ b/mfg/mfg.go
@@ -6,7 +6,8 @@ import (
"mynewt.apache.org/newt/util"
)
-const MFG_IMG_FILENAME = "mfgimg.bin"
+const MFG_BIN_IMG_FILENAME = "mfgimg.bin"
+const MFG_HEX_IMG_FILENAME = "mfgimg.hex"
const MANIFEST_FILENAME = "manifest.json"
type Mfg struct {