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-newt.git
commit c5a8844fe2c59486768c5bf55384a64c47851e07 Author: Stefan Diewald <d...@users.noreply.github.com> AuthorDate: Wed Apr 1 15:40:57 2020 +0200 Update documentation for mfg create Update for the documentation of mfg create command to match the current implementation. Signed-off-by: Stefan Diewald <d...@users.noreply.github.com> --- docs/command_list/newt_mfg.rst | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/docs/command_list/newt_mfg.rst b/docs/command_list/newt_mfg.rst index e614788..ee89005 100644 --- a/docs/command_list/newt_mfg.rst +++ b/docs/command_list/newt_mfg.rst @@ -73,7 +73,7 @@ Create the directory 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 to specify the two constituent targets. An example of each file is shown below. +The ``rb_blinky_rsa`` package needs a pkg.yml file. In addition, it needs a mfg.yml file to specify the two constituent targets. An example of each file is shown below. .. code-block:: console @@ -87,16 +87,25 @@ The ``rb_blinky_rsa`` package needs a pkg.yml file. In addition it is needs a mf .. code-block:: console $ more mfgs/rb_blinky_rsa/mfg.yml - mfg.bootloader: 'targets/rb_boot' - mfg.images: - - 'targets/rb_blinky' + mfg.bsp: "@apache-mynewt-core/hw/bsp/rb-nano2" + mfg.targets: + - rb_boot: + name: "targets/rb_boot" + area: FLASH_AREA_BOOTLOADER + offset: 0x0 + - rb_blinky: + name: "targets/rb_blinky" + area: FLASH_AREA_IMAGE_0 + offset: 0x0 + mfg.meta: + area: FLASH_AREA_BOOTLOADER Build the bootloader and app images. .. code-block:: console - $ newt build rb_boot - $ newt create-image rb_blinky 0.0.1 + $ newt build rb_boot && newt create-image rb_boot 0.0.1 + $ newt build rb_blink && newt create-image rb_blinky 0.0.1 Run the ``newt mfg create`` command to collect all the manufacturing snapshot files.