Repository: incubator-mynewt-site Updated Branches: refs/heads/develop a10075c4c -> eedec3fd2
mfg docs - slight rewording / rearranging 1. Move create mfg step such that it comes before the boot-build and create-image steps. Rationale: The mfg package only needs to be created once, whereas the boot loader and image need to be rebuilt each time a new mfg image is built. It makes sense to group the steps that need to be repeated together. 2. Remove redundant 'newt build rb_boot' line from example This line was accidentally duplicated. 3. Slight rewording of some text to keep vocabulary consistent (mfg package versus manufacturing image). This closes #145. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/d657ec63 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/d657ec63 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/d657ec63 Branch: refs/heads/develop Commit: d657ec63fbf77a967a0d433c91ff6f0ffe5666d9 Parents: a10075c Author: Christopher Collins <[email protected]> Authored: Mon Jan 23 09:15:59 2017 -0800 Committer: aditihilbert <[email protected]> Committed: Wed Jan 25 16:23:33 2017 -0800 ---------------------------------------------------------------------- docs/newt/command_list/newt_mfg.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/d657ec63/docs/newt/command_list/newt_mfg.md ---------------------------------------------------------------------- diff --git a/docs/newt/command_list/newt_mfg.md b/docs/newt/command_list/newt_mfg.md index e7f5258..f7ee02e 100644 --- a/docs/newt/command_list/newt_mfg.md +++ b/docs/newt/command_list/newt_mfg.md @@ -60,21 +60,13 @@ targets/rb_boot build_profile=optimized ``` -Build the bootloader and app images. - -``` -$ newt build rb_boot -$ newt build rb_boot -$ newt create-image rb_blinky 0.0.1 -``` - -Create the directory and package to hold the manufacturing images. +Create the directory and to hold the mfg packages. ``` $ mkdir -p mfgs/rb_blinky_rsa ``` -The `rb_blinky_rsa` package needs a pkg.yml file. In addition it is needs a mfg.yml file where the two constituent targets are defined. An example of each file is shown below. +The `rb_blinky_rsa` package needs a pkg.yml file. In addition it is needs a mfg.yml file to specify the two constituent targets. An example of each file is shown below. ``` $ more mfgs/rb_blinky_rsa/pkg.yml @@ -92,6 +84,13 @@ mfg.images: - 'targets/rb_blinky' ``` +Build the bootloader and app images. + +``` +$ newt build rb_boot +$ newt create-image rb_blinky 0.0.1 +``` + Run the `newt mfg create` command to collect all the manufacturing snapshot files. ```
