manifest: Add `MfgManifestTarget.Size` field
manifest: Add `MfgManifestTarget.Size` field

This field indicates the size of the target binary (either .bin or .img
file).  This is useful for splitting an mfgimage into its constituent
parts.  Without this change, the only method of doing this is to use a
heuristic: remove all 0xff bytes from the end of each part (this is what
`imgmod mfg split` does).  However, this leads to problems if a target
or raw entry happens to contain trailing 0xff bytes.
1 file changed
tree: 6696af14fb3d35cf262ced481ea0df5f660350ff
  1. .gitignore
  2. .travis.yml
  3. LICENSE
  4. NOTICE
  5. README.md
  6. errors/
  7. flash/
  8. go.mod
  9. go.sum
  10. image/
  11. manifest/
  12. mfg/
  13. sec/
README.md

Mynewt Artifact

Apache Mynewt Artifact is a Go library that parses, manipulates, validates, and outputs Mynewt artifacts. Supported artifacts are:

  • Images
  • Image manifests
  • Manufacturing images (mfgimages)
  • Manufacturing manifests