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/11/08 01:38:13 UTC

[mynewt-artifact] branch master updated: mfg_manifest: Add list of flash device names

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


The following commit(s) were added to refs/heads/master by this push:
     new 963b7da  mfg_manifest: Add list of flash device names
963b7da is described below

commit 963b7da9315e73e2a6e4bd1b8c96f97038ba0082
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Thu Nov 7 16:01:22 2019 -0800

    mfg_manifest: Add list of flash device names
    
    Allow an mfgimage manifest to indicate the names of the BSP's flash
    devices.
---
 manifest/mfg_manifest.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/manifest/mfg_manifest.go b/manifest/mfg_manifest.go
index 0cde7f8..1e7bcf9 100644
--- a/manifest/mfg_manifest.go
+++ b/manifest/mfg_manifest.go
@@ -80,6 +80,7 @@ type MfgManifest struct {
 	EraseVal   byte              `json:"erase_val"`
 	Signatures []MfgManifestSig  `json:"signatures,omitempty"`
 	FlashAreas []flash.FlashArea `json:"flash_map"`
+	FlashNames []string          `json:"flash_names",omitempty`
 
 	Targets []MfgManifestTarget `json:"targets"`
 	Raws    []MfgManifestRaw    `json:"raws"`