diff --git a/docs/command_list/newt_mfg.rst b/docs/command_list/newt_mfg.rst index e6147883f1..819a27e0d0 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,9 +87,18 @@ 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. @@ -107,3 +116,5 @@ Run the ``newt mfg create`` command to collect all the manufacturing snapshot fi Generated the following files: + +A description of the generated files is available in the implementation's `readme `_