You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/03/08 19:16:44 UTC

[2/3] incubator-mynewt-site git commit: newt manual edits.

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/98835b88/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/mkdocs/search_index.json b/mkdocs/search_index.json
index 73ef1c7..754510d 100644
--- a/mkdocs/search_index.json
+++ b/mkdocs/search_index.json
@@ -177,7 +177,7 @@
         }, 
         {
             "location": "/os/get_started/vocabulary/", 
-            "text": "Concepts\n\n\nApplication repository or app\n\n\nThe application repository (app) is the base directory of your embedded software. It is a workspace containing a logical collection of the source code for one or more of your \nprojects\n. An app can contain multiple projects, and reflects multiple end products. \n\n\nAs the base repository of your source code, the app has a master branch and several other branches off it. The \nmaster\n is typically what developers commit to. Just before your code is ready for a release, a code freeze should prevent all commits to the \nmaster\n branch. However, a temporary \ndevelop\n branch is opened up for contributors to continue committing their code. When the release is tagged off the \nmaster\n, the \ndevelop\n branch is merged into \nmaster\n. And after the \ndevelop\n merge to the \nmaster\n, developers may resume commiting changes to \nmaster\n, and the \ndevelop\n branch is subsequently deleted.\n\n\nAlternatively, you
  may choose to create your own branch, specific to an individual developer, and work there.\n\n\nYou can have several \nprojects\n in your app repository, since an application can be used in several projects. Each project in your app will, in turn, consist of several \npackages\n. A project could be a package itself as well. In addition to packages, your app repository will contain additional items such as \ntarget\n or build definitions, \npackage list\n description files, scripts etc.\n\n\nFor example, a walk through the main app at \nhttps://github.com/apache/incubator-mynewt-larva\n shows the structure of the repository. The app.yml file in the larva directory indicates that it is an app. A pkg will have the pkg.yml file in it as shown below. By this nomenclature, each board support package for a particular chip is a pkg; for instance, the API for the hardware abstraction layer is a pkg, and so on. \n\n\nlarva\n  |- app.yml \n  |- compiler\n        |- arm-none-eabi-m0\n        |
 - arm-none-eabi-m4\n        |- sim\n  |- hw (hardware)\n        |- bsp (board support package)\n                |- nrf52pdk (Nordic nRF52 series chip)\n                        |- pkg.yml\n                        |- ...\n                |- olimex_stm32-e407_devboard (used in Project Blinky)\n                        |- pkg.yml\n                        |- ...\n                |- nrf51dk\n                        |- pkg.yml\n                        |- ...\n                |- yet another board\n                        |- pkg.yml\n                        |- ...\n        |- hal (hardware abstraction layer APIs)\n                |- pkg.yml\n                |- include\n                        |- hal_cputime.h\n                        |- hal_flash.h\n                        |- hal_gpio.h\n                        |- ... (header files for other peripherals)\n                |- src\n                        |- flash_map.c\n                        |- ... (other files)\n        |- mcu (microcontroll
 er)\n                |- stm (STMicro family)\n                    |- stm32f3xx (STM32f3 series, 32-bit ARM Cortex-M4  core)\n                        |- pkg.yml\n                        |- src\n                            |- hal_gpio.c (specific to the STM32f3 mcu)\n                            |- hal_cputime.c\n                            |- ... (code for other peripherals)\n                |- nordic (Nordic Semiconductor family)\n                    |- nrf52xxx (nRF52 Series SoC, Cortex-M4F core)\n                        |- pkg.yml\n                        |- src\n                            |- hal_gpio.c (specific to the nRF52 mcu )\n                            |- hal_cputime.c\n                            |- ... (code for other peripherals)\n                |- yet another family of mcu\n                    |- ...\n  |- libs\n        |- bootutil (hw architecture independent boot loader library)\n                |- pkg.yml\n                |- src\n                    |- loader.c\n  
                   |- ... (related source code files)\n        |- nffs (hw architecture independent Newtron Flash File System)\n                |- pkg.yml\n                |- src\n                    |- nffs.c\n                    |- ... (related source code files)\n        |- another library \n                |- pkg.yml\n                |- src\n                    |- ... (related source code files)\n  |- project\n  |- scripts\n  |- net/nimble (BLE stack)\n  |- ... (additional modules or stacks)\n\n\n\n\n\n\nThe \nnewt\n tool offers the \napp\n sub command to create and manage apps. In general, commands represent actions, and flags act as modifiers for specfied actions. A \nnewt\n command can have subcommands and it can optionally run an action. A full description of the \napp\n command can be found in the \nNewt Tool Manual\n.\n\n\n    newt app [flags]\n    newt app [child-commands] \n\n\n\n\nA complete list of all the app subcommands can be found in the \nnewt\n tool reference in \
 nNewt Tool\n.\n\n\nProject\n\n\nProjects represent individual build configurations of your embedded system and (individually or collectively) comprise your application. The project files dictate the generated binary. \n\n\nA project is laid out as a directory inside an app and contains required packages for an application. For example, the \nblinky\n pkg sits in \nproject/blinky\n directory of the \nlarva\n app. This pkg is used in the blinky project (an application) outlined in \nGet Started\n.\n\n\nAssociated with each project are properties. These properties are defined in the\nproject-name\n.yml\n file in the project directory. For example, the \nproject/blinky\n directory has the \nblinky.yml\n file indicating some or all of the properties disscused below. Only the name of a project is required for the project to exist; however, additional properties may be specified for the pkgs within it to produce an executable. \n\n\n\n\nProject name\n\n\nBase path of the project (app/proje
 ct/project-name by default)\n\n\nPkgs belonging to the project\n\n\nCapabilities\n that are required for the project or target \n\n\nIdentity\n to classify the type of project or target\n\n\nCompiler flags to call out any specific compiler requirements\n\n\n\n\nAlso, a project itself could be a pkg if it is a distributable package for a specific application. That is, the pkg can be resued in other apps as a bundle of libraries.\n\n\nTo work with pkgs, the \nnewt\n tool offers management commands that you can use with your project. For example, if your project is a pkg, you can use the following command to install a project from an app.\n\n\n    newt pkg install [flags] \nproject pkg name\n\n\n\n\n\nOther commands assocated with pkg are:\n\n\n  newt pkg list\n  newt pkg checkdeps\n  newt pkg search \npkg-name\n\n  newt pkg show [\npkg-list\n ] \npkg-name\n\n  newt pkg install [\npkg-list\n ] \npkg-name\n\n  newt pkg remove [\npkg-list\n ] \npkg-name\n\n\n\n\n\nPackage or pkg\n\n\nA p
 ackage (pkg) is a distributable bundle of libraries. Just as an egg in nature has various parts, each serving a certain purpose, a Mynewt app consists of software modules that have different functions. However, unlike the egg in nature these modules can exist by itself and may be distributed; therefore, they too are essentially eggs. Once this analogy is grasped it is easy to see how a pkg may consist of other pkgs.\n\n\nThe two main directories in a pkg are \n/include\n and \n/src\n.\n\n\nThe \nnewt\n tool offers several pkg commands as shown above. For example, you can list all the pkgs\n\n\n    newt pkg list \n\n\n\n\nIt lists all the pkgs in the current app where each pkg has details, such as version, path, and dependencies. A sample output for a pkg is given below:\n\n\n    Package: libs/os, version 0.1.0\n    path: /Users/aditihilbert/dev/test_project/libs/os\n    deps: libs/testutil@none#stable \n\n\n\n\nFor a comprehensive list of all pkg commands, consult the \nnewt\n tool 
 reference in \nNewt Tool\n.\n\n\nPackage list or pkg-list\n\n\nA pkg-list is a snapshot of all pkgs in a remote app at any point in time. On any given github branch, an app with a pkg-list of pkgs will contain a \npkg-list.yml\n file that specifies the version number, dependencies, and hash value for each constituent pkg as well as the name of the entire pkg-list and the github url for it. [Note: Currently ]\n\n\nYou may download multiple pkg-lists into your local app as long as the names of the pkg-lists are different. This allows you to mix and match various features and functionality coming from different pkg-lists of pkgs. You can see all the pkg-lists in the \n.app/pkg-lists\n directory in your app.\n\n\nAs with pkgs, the \nnewt\n tool offers pkg-list management commands within the \nnewt app\n command. For example, the following command creates a new pkg-list using all the pkgs in the current directory. It requires that a pkg-list name be specified and the url for the location
  of that pkg-list in the remote repository. These two inputs go into the \npkg-list.yml\n file in an app.\n\n\n    newt app generate-pkg-list \npkg-list-name\n \npkg-list-url\n\n\n\n\n\nNote\n: A pkg-list for a project stipulates all pkgs that belong together that must be installed as project's source code.\n\n\nTarget\n\n\nA target is the hardware build or its software equivalent (e.g. test, simulator) set for a project. Targets instruct the \nnewt\n tool how to build the source code within a given app. Once a new target is created, its architecture and other details can be set manually. An example of a defined target named \"blink_f3disc\" is given below.\n\n\n    blink_f3disc\n             compiler_def: debug\n             compiler: arm-none-eabi-m4\n             name: blink_f3disc\n             arch: cortex_m4\n             project: blinky\n             bsp: hw/bsp/stm32f3discovery\n\n\n\n\nTo that end, \nnewt\n tool offers commands to create, set and manipulate targets. For exa
 mple, the create command below creates an empty target named \nmy_target1\n and the set command sets one attribute of its definition, namely the architecture.\n\n\n    newt target create my_target1\n    newt target set my_target1 arch=cortex_m4\n\n\n\n\nCapability\n\n\nCapability, as the name suggests, is functionality that is exposed by a pkg. A capability is tracked by its name and version. In some cases, a pkg may require capabilities exposed by another pkg, thus establishing a dependency, which is tracked through the pkg.yml files. \n\n\nWith \nnewt\n tool you can verify a map of pkgs' capabilities, use it to check dependencies, and ensure all the necessary pkgs in a project belong to its target.\n\n\nIdentity\n\n\nIdentity is a property of a target or project in the \nnewt\n world. A target may inherit its identify from a project or vice versa. It may be used to determine what pkgs to include or how a pkg code should behave in a build or which linkerscripts to use. For example,
  the identity of a lock device is different from the identity of a wearable monitor. Even if they were built on the same hardware target, different features and behaviors are required. Because of this distinction, a distinct sets of pkgs in the projects and/or the same pkg will behave differently, depending on its identity.", 
+            "text": "Concepts\n\n\nApplication repository or app\n\n\nThe application repository (app) is the base directory of your embedded software. It is a workspace containing a logical collection of the source code for one or more of your \nprojects\n. An app can contain multiple projects, and reflects multiple end products. \n\n\nAs the base repository of your source code, the app has a master branch and several other branches off it. The \nmaster\n is typically what developers commit to. Just before your code is ready for a release, a code freeze should prevent all commits to the \nmaster\n branch. However, a temporary \ndevelop\n branch is opened up for contributors to continue committing their code. When the release is tagged off the \nmaster\n, the \ndevelop\n branch is merged into \nmaster\n. And after the \ndevelop\n merge to the \nmaster\n, developers may resume commiting changes to \nmaster\n, and the \ndevelop\n branch is subsequently deleted.\n\n\nAlternatively, you
  may choose to create your own branch, specific to an individual developer, and work there.\n\n\nYou can have several \nprojects\n in your app repository, since an application can be used in several projects. Each project in your app will, in turn, consist of several \npackages\n. A project could be a package itself as well. In addition to packages, your app repository will contain additional items such as \ntarget\n or build definitions, \npackage list\n description files, scripts etc.\n\n\nFor example, a walk through the main app at \nhttps://github.com/apache/incubator-mynewt-larva\n shows the structure of the repository. The app.yml file in the larva directory indicates that it is an app. A pkg will have the pkg.yml file in it as shown below. By this nomenclature, each board support package for a particular chip is a pkg; for instance, the API for the hardware abstraction layer is a pkg, and so on. \n\n\nlarva\n  |- app.yml \n  |- compiler\n        |- arm-none-eabi-m0\n        |
 - arm-none-eabi-m4\n        |- sim\n  |- hw (hardware)\n        |- bsp (board support package)\n                |- nrf52pdk (Nordic nRF52 series chip)\n                        |- pkg.yml\n                        |- ...\n                |- olimex_stm32-e407_devboard (used in Project Blinky)\n                        |- pkg.yml\n                        |- ...\n                |- nrf51dk\n                        |- pkg.yml\n                        |- ...\n                |- yet another board\n                        |- pkg.yml\n                        |- ...\n        |- hal (hardware abstraction layer APIs)\n                |- pkg.yml\n                |- include\n                        |- hal_cputime.h\n                        |- hal_flash.h\n                        |- hal_gpio.h\n                        |- ... (header files for other peripherals)\n                |- src\n                        |- flash_map.c\n                        |- ... (other files)\n        |- mcu (microcontroll
 er)\n                |- stm (STMicro family)\n                    |- stm32f3xx (STM32f3 series, 32-bit ARM Cortex-M4  core)\n                        |- pkg.yml\n                        |- src\n                            |- hal_gpio.c (specific to the STM32f3 mcu)\n                            |- hal_cputime.c\n                            |- ... (code for other peripherals)\n                |- nordic (Nordic Semiconductor family)\n                    |- nrf52xxx (nRF52 Series SoC, Cortex-M4F core)\n                        |- pkg.yml\n                        |- src\n                            |- hal_gpio.c (specific to the nRF52 mcu )\n                            |- hal_cputime.c\n                            |- ... (code for other peripherals)\n                |- yet another family of mcu\n                    |- ...\n  |- libs\n        |- bootutil (hw architecture independent boot loader library)\n                |- pkg.yml\n                |- src\n                    |- loader.c\n  
                   |- ... (related source code files)\n        |- nffs (hw architecture independent Newtron Flash File System)\n                |- pkg.yml\n                |- src\n                    |- nffs.c\n                    |- ... (related source code files)\n        |- another library \n                |- pkg.yml\n                |- src\n                    |- ... (related source code files)\n  |- project\n  |- scripts\n  |- net/nimble (BLE stack)\n  |- ... (additional modules or stacks)\n\n\n\n\n\n\nThe \nnewt\n tool offers the \napp\n sub command to create and manage apps. In general, commands represent actions, and flags act as modifiers for specfied actions. A \nnewt\n command can have subcommands and it can optionally run an action. A full description of the \napp\n command can be found in the \nNewt Tool Manual\n.\n\n\n    newt app [flags]\n    newt app [child-commands] \n\n\n\n\nA complete list of all the app subcommands can be found in the \nnewt\n tool reference in \
 nNewt Tool\n.\n\n\nProject\n\n\nProjects represent individual build configurations of your embedded system and (individually or collectively) comprise your application. The project files dictate the generated binary. \n\n\nA project is laid out as a directory inside an app and contains required packages for an application. For example, the \nblinky\n pkg sits in \nproject/blinky\n directory of the \nlarva\n app. This pkg is used in the blinky project (an application) outlined in \nGet Started\n.\n\n\nAssociated with each project are properties. These properties are defined in the\nproject-name\n.yml\n file in the project directory. For example, the \nproject/blinky\n directory has the \nblinky.yml\n file indicating some or all of the properties disscused below. Only the name of a project is required for the project to exist; however, additional properties may be specified for the pkgs within it to produce an executable. \n\n\n\n\nProject name\n\n\nBase path of the project (app/proje
 ct/project-name by default)\n\n\nPkgs belonging to the project\n\n\nCapabilities\n that are required for the project or target \n\n\nIdentity\n to classify the type of project or target\n\n\nCompiler flags to call out any specific compiler requirements\n\n\n\n\nAlso, a project itself could be a pkg if it is a distributable package for a specific application. That is, the pkg can be resued in other apps as a bundle of libraries.\n\n\nTo work with pkgs, the \nnewt\n tool offers management commands that you can use with your project. For example, if your project is a pkg, you can use the following command to install a project from an app.\n\n\n    newt pkg install [flags] \nproject pkg name\n\n\n\n\n\nOther commands associated with pkg are:\n\n\n  newt pkg list\n  newt pkg checkdeps\n  newt pkg search \npkg-name\n\n  newt pkg show [\npkg-list\n ] \npkg-name\n\n  newt pkg install [\npkg-list\n ] \npkg-name\n\n  newt pkg remove [\npkg-list\n ] \npkg-name\n\n\n\n\n\nPackage or pkg\n\n\nA 
 package (pkg) is a distributable bundle of libraries. Just as an egg in nature has various parts, each serving a certain purpose, a Mynewt app consists of software modules that have different functions. However, unlike the egg in nature these modules can exist by itself and may be distributed; therefore, they too are essentially eggs. Once this analogy is grasped it is easy to see how a pkg may consist of other pkgs.\n\n\nThe two main directories in a pkg are \n/include\n and \n/src\n.\n\n\nThe \nnewt\n tool offers several pkg commands as shown above. For example, you can list all the pkgs\n\n\n    newt pkg list \n\n\n\n\nIt lists all the pkgs in the current app where each pkg has details, such as version, path, and dependencies. A sample output for a pkg is given below:\n\n\n    Package: libs/os, version 0.1.0\n    path: /Users/aditihilbert/dev/test_project/libs/os\n    deps: libs/testutil@none#stable \n\n\n\n\nFor a comprehensive list of all pkg commands, consult the \nnewt\n tool
  reference in \nNewt Tool\n.\n\n\nPackage list or pkg-list\n\n\nA pkg-list is a snapshot of all pkgs in a remote app at any point in time. On any given github branch, an app with a pkg-list of pkgs will contain a \npkg-list.yml\n file that specifies the version number, dependencies, and hash value for each constituent pkg as well as the name of the entire pkg-list and the github url for it. [Note: Currently ]\n\n\nYou may download multiple pkg-lists into your local app as long as the names of the pkg-lists are different. This allows you to mix and match various features and functionality coming from different pkg-lists of pkgs. You can see all the pkg-lists in the \n.app/pkg-lists\n directory in your app.\n\n\nAs with pkgs, the \nnewt\n tool offers pkg-list management commands within the \nnewt app\n command. For example, the following command creates a new pkg-list using all the pkgs in the current directory. It requires that a pkg-list name be specified and the url for the locatio
 n of that pkg-list in the remote repository. These two inputs go into the \npkg-list.yml\n file in an app.\n\n\n    newt app generate-pkg-list \npkg-list-name\n \npkg-list-url\n\n\n\n\n\nNote\n: A pkg-list for a project stipulates all pkgs that belong together that must be installed as project's source code.\n\n\nTarget\n\n\nA target is the hardware build or its software equivalent (e.g. test, simulator) set for a project. Targets instruct the \nnewt\n tool how to build the source code within a given app. Once a new target is created, its architecture and other details can be set manually. An example of a defined target named \"blink_f3disc\" is given below.\n\n\n    blink_f3disc\n             compiler_def: debug\n             compiler: arm-none-eabi-m4\n             name: blink_f3disc\n             arch: cortex_m4\n             project: blinky\n             bsp: hw/bsp/stm32f3discovery\n\n\n\n\nTo that end, \nnewt\n tool offers commands to create, set and manipulate targets. For ex
 ample, the create command below creates an empty target named \nmy_target1\n and the set command sets one attribute of its definition, namely the architecture.\n\n\n    newt target create my_target1\n    newt target set my_target1 arch=cortex_m4\n\n\n\n\nCapability\n\n\nCapability, as the name suggests, is functionality that is exposed by a pkg. A capability is tracked by its name and version. In some cases, a pkg may require capabilities exposed by another pkg, thus establishing a dependency, which is tracked through the pkg.yml files. \n\n\nWith \nnewt\n tool you can verify a map of pkgs' capabilities, use it to check dependencies, and ensure all the necessary pkgs in a project belong to its target.\n\n\nIdentity\n\n\nIdentity is a property of a target or project in the \nnewt\n world. A target may inherit its identify from a project or vice versa. It may be used to determine what pkgs to include or how a pkg code should behave in a build or which linkerscripts to use. For example
 , the identity of a lock device is different from the identity of a wearable monitor. Even if they were built on the same hardware target, different features and behaviors are required. Because of this distinction, a distinct sets of pkgs in the projects and/or the same pkg will behave differently, depending on its identity.", 
             "title": "toc"
         }, 
         {
@@ -192,7 +192,7 @@
         }, 
         {
             "location": "/os/get_started/vocabulary/#project", 
-            "text": "Projects represent individual build configurations of your embedded system and (individually or collectively) comprise your application. The project files dictate the generated binary.   A project is laid out as a directory inside an app and contains required packages for an application. For example, the  blinky  pkg sits in  project/blinky  directory of the  larva  app. This pkg is used in the blinky project (an application) outlined in  Get Started .  Associated with each project are properties. These properties are defined in the project-name .yml  file in the project directory. For example, the  project/blinky  directory has the  blinky.yml  file indicating some or all of the properties disscused below. Only the name of a project is required for the project to exist; however, additional properties may be specified for the pkgs within it to produce an executable.    Project name  Base path of the project (app/project/project-name by default)  Pkgs belonging t
 o the project  Capabilities  that are required for the project or target   Identity  to classify the type of project or target  Compiler flags to call out any specific compiler requirements   Also, a project itself could be a pkg if it is a distributable package for a specific application. That is, the pkg can be resued in other apps as a bundle of libraries.  To work with pkgs, the  newt  tool offers management commands that you can use with your project. For example, if your project is a pkg, you can use the following command to install a project from an app.      newt pkg install [flags]  project pkg name   Other commands assocated with pkg are:    newt pkg list\n  newt pkg checkdeps\n  newt pkg search  pkg-name \n  newt pkg show [ pkg-list  ]  pkg-name \n  newt pkg install [ pkg-list  ]  pkg-name \n  newt pkg remove [ pkg-list  ]  pkg-name", 
+            "text": "Projects represent individual build configurations of your embedded system and (individually or collectively) comprise your application. The project files dictate the generated binary.   A project is laid out as a directory inside an app and contains required packages for an application. For example, the  blinky  pkg sits in  project/blinky  directory of the  larva  app. This pkg is used in the blinky project (an application) outlined in  Get Started .  Associated with each project are properties. These properties are defined in the project-name .yml  file in the project directory. For example, the  project/blinky  directory has the  blinky.yml  file indicating some or all of the properties disscused below. Only the name of a project is required for the project to exist; however, additional properties may be specified for the pkgs within it to produce an executable.    Project name  Base path of the project (app/project/project-name by default)  Pkgs belonging t
 o the project  Capabilities  that are required for the project or target   Identity  to classify the type of project or target  Compiler flags to call out any specific compiler requirements   Also, a project itself could be a pkg if it is a distributable package for a specific application. That is, the pkg can be resued in other apps as a bundle of libraries.  To work with pkgs, the  newt  tool offers management commands that you can use with your project. For example, if your project is a pkg, you can use the following command to install a project from an app.      newt pkg install [flags]  project pkg name   Other commands associated with pkg are:    newt pkg list\n  newt pkg checkdeps\n  newt pkg search  pkg-name \n  newt pkg show [ pkg-list  ]  pkg-name \n  newt pkg install [ pkg-list  ]  pkg-name \n  newt pkg remove [ pkg-list  ]  pkg-name", 
             "title": "Project"
         }, 
         {
@@ -222,7 +222,7 @@
         }, 
         {
             "location": "/os/tutorials/STM32F303/", 
-            "text": "Blinky on STM32F303 board\n\n\nObjective\n\n\nDownload a generic firmware skeleton (\"bootstrap image\") that applies to any hardware and then throw in additional applicable pkgs to generate a build for a specific board, namely the STM32F303VC MCU from STMicroelectronics.\n\n\nHardware needed\n\n\n\n\nDiscovery kit with STM32F303VC MCU\n\n\nLaptop running Mac OS\n\n\n\n\nStep by Step Instructions to build image\n\n\n\n\nThe first step is to download the generic skeleton of the project. The pkgs constituting the skeleton are not hardware architecture specific. The skeleton is maintained as an app in a separate repository on Apache. You know it is an app because there is an app.yml file. \n\n\n\n\n        [user:~/dev]$ newt app create test_project\n        Downloading app skeleton from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-tadpole.git... ok!\n        app test_project successfully created in ~/dev/go/test_project\n\n        [user:~/dev]$ cd test_
 project/\n        [user:~/dev/test_project]$ ls\n        README.md   compiler    hw      libs    app.yml\n\n\n\n\n\n\nNext, the pkg-list named larva is added from the app (also named larva) from another repository on Apache. This step simply downloads the pkg-list description file and does not actually install the pkgs that constitute the pkg-list. The pkg-list description file (\npkg-list.yml\n) will be used to check dependencies during the pkg install to ensure completeness. It serves as a reference for all the pkgs in the pkg-list that one can choose from and install.\n\n\n\n\n        [user:~/dev/test_project]$ newt app add-pkg-list larva https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git\n        Downloading pkg-list.yml from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git/master... ok!\n        Verifying pkg-list.yml format...\n        ok!\n        pkg-list larva successfully installed to app.\n\n\n\n\n\n\nThe next step is to install relevant 
 pkgs from the larvan app on github. The instructions assume that you know what application or project you are interested in (the blinky application, in this case), what hardware you are using (STM32F3DISCOVERY board, in this case) and hence, what board support package you need. \n\n\n\n\n\n        [user:~/dev/test_project]$ newt pkg install project/blinky          \n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!\n        Installing project/blinky\n        Installing libs/console/full\n        Installing libs/shell\n        Installation was a success!\n\n        [user:~/dev/test_project]$ newt pkg install hw/bsp/stm32f3discovery\n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!\n        Installing hw/bsp/stm32f3discovery\n        Installing hw/mcu/stm/stm32f3xx\n        Installing libs/cmsis-core\n        Installing compiler/arm-none-eabi-m4\n        Installation wa
 s a success!\n\n\n\n\n\n\nIt's time to create a target for the project and define the target attributes. \n\n\n\n\n        [user:~/dev/test_project]$ newt target create blink_f3disc\n        Creating target blink_f3disc\n        Target blink_f3disc successfully created!\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc project=blinky\n        Target blink_f3disc successfully set project to blinky\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc bsp=hw/bsp/stm32f3discovery\n        Target blink_f3disc successfully set bsp to hw/bsp/stm32f3discovery\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler_def=debug\n        Target blink_f3disc successfully set compiler_def to debug\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler=arm-none-eabi-m4\n        Target blink_f3disc successfully set compiler to arm-none-eabi-m4\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc arch=cortex_m4\n   
      Target blink_f3disc successfully set arch to cortex_m4\n\n        [user:~/dev/test_project]$ newt target show blink_f3disc\n        blink_f3disc\n            arch: cortex_m4\n            project: blinky\n            bsp: hw/bsp/stm32f3discovery\n            compiler_def: debug\n            compiler: arm-none-eabi-m4\n            name: blink_f3disc\n\n\n\n\n\n\n\n\nNext, you get to build the target and generate an executable that can then be uploaded to the board. The STM32F3DISCOVERY board includes an ST-LINK/V2 embedded debug tool interface that will be used to program/debug the board. To program the MCU on the board, simply plug in the two jumpers on CN4, as shown in the picture in red. If you want to learn more about the board you will find the User Manual at \nhttp://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf\n\n\n\n\n\n\n\n\n\n\n\n\n        [user:~/dev/test_project]$ newt target build blink_f3disc\n        Building target b
 link_f3disc (project = blinky)\n        Compiling case.c\n        Compiling suite.c\n        Compiling testutil.c\n        Compiling testutil_arch_arm.c\n        Archiving libtestutil.a\n        Compiling os.c\n        Compiling os_callout.c\n        Compiling os_eventq.c\n        Compiling os_heap.c\n        Compiling os_mbuf.c\n        Compiling os_mempool.c\n        Compiling os_mutex.c\n        Compiling os_sanity.c\n        Compiling os_sched.c\n        Compiling os_sem.c\n        Compiling os_task.c\n        Compiling os_time.c\n        Compiling os_arch_arm.c\n        Assembling HAL_CM4.s\n        Assembling SVC_Table.s\n        Archiving libos.a\n        Compiling hal_gpio.c\n        Compiling stm32f3xx_hal_gpio.c\n        Archiving libstm32f3xx.a\n        Compiling cmsis_nvic.c\n        Compiling libc_stubs.c\n        Compiling os_bsp.c\n        Compiling sbrk.c\n        Compiling system_stm32f3xx.c\n        Assembling startup_stm32f303xc.s\n        Archiving libstm32f3disc
 overy.a\n        Compiling main.c\n        Building project blinky\n        Linking blinky.elf\n        Successfully run!\n\n\n\n\n\n\nFinally, you have to download the image on to the board. You will see a blue light start to blink.\n\n\n\n\n        [user:~/dev/test_project]$ newt target download blink_f3disc\n        Downloading with /Users/user/dev/test_project/hw/bsp/stm32f3discovery/stm32f3discovery_download.sh", 
+            "text": "Blinky on STM32F303 board\n\n\nObjective\n\n\nDownload a generic firmware skeleton (\"bootstrap image\") that applies to any hardware and then throw in additional applicable pkgs to generate a build for a specific board, namely the STM32F303VC MCU from STMicroelectronics.\n\n\nHardware needed\n\n\n\n\nDiscovery kit with STM32F303VC MCU\n\n\nLaptop running Mac OS\n\n\n\n\nStep by Step Instructions to build image\n\n\n\n\nThe first step is to download the generic skeleton of the project. The pkgs constituting the skeleton are not hardware architecture specific. The skeleton is maintained as an app in a separate repository on Apache. You know it is an app because there is an app.yml file. \n\n\n\n\n        [user:~/dev]$ newt app create test_project\n        Downloading app skeleton from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-tadpole.git... ok!\n        app test_project successfully created in ~/dev/go/test_project\n\n        [user:~/dev]$ cd test_
 project/\n        [user:~/dev/test_project]$ ls\n        README.md   compiler    hw      libs    app.yml\n\n\n\n\n\n\nNext, the pkg-list named larva is added from the app (also named larva) from another repository on Apache. This step simply downloads the pkg-list description file and does not actually install the pkgs that constitute the pkg-list. The pkg-list description file (\npkg-list.yml\n) will be used to check dependencies during the pkg install to ensure completeness. It serves as a reference for all the pkgs in the pkg-list that one can choose from and install.\n\n\n\n\n        [user:~/dev/test_project]$ newt app add-pkg-list larva https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git\n        Downloading pkg-list.yml from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git/master... ok!\n        Verifying pkg-list.yml format...\n        ok!\n        pkg-list larva successfully installed to app.\n\n\n\n\n\n\nThe next step is to install relevant 
 pkgs from the larva app from git server on Apache. The instructions assume that you know what application or project you are interested in (the blinky application, in this case), what hardware you are using (STM32F3DISCOVERY board, in this case) and hence, what board support package you need. \n\n\n\n\n\n        [user:~/dev/test_project]$ newt pkg install project/blinky          \n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!\n        Installing project/blinky\n        Installing libs/console/full\n        Installing libs/shell\n        Installation was a success!\n\n        [user:~/dev/test_project]$ newt pkg install hw/bsp/stm32f3discovery\n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!\n        Installing hw/bsp/stm32f3discovery\n        Installing hw/mcu/stm/stm32f3xx\n        Installing libs/cmsis-core\n        Installing compiler/arm-none-eabi-m4\n        
 Installation was a success!\n\n\n\n\n\n\nIt's time to create a targets for the project and define the target attributes. STM32F3 BSP expects bootloader, so create targets for both blinky and bootloader.\n\n\n\n\n        [user:~/dev/test_project]$ newt target create blink_f3disc\n        Creating target blink_f3disc\n        Target blink_f3disc successfully created!\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc project=blinky\n        Target blink_f3disc successfully set project to blinky\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc bsp=hw/bsp/stm32f3discovery\n        Target blink_f3disc successfully set bsp to hw/bsp/stm32f3discovery\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler_def=debug\n        Target blink_f3disc successfully set compiler_def to debug\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler=arm-none-eabi-m4\n        Target blink_f3disc successfully set compiler to arm-no
 ne-eabi-m4\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc arch=cortex_m4\n        Target blink_f3disc successfully set arch to cortex_m4\n\n        [user:~/dev/test_project]$ newt target create boot_f3disc\n        Creating target boot_f3disc\n        Target boot_f3disc successfully created!\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc project=boot\n        Target blink_f3disc successfully set project to blinky\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc bsp=hw/bsp/stm32f3discovery\n        Target boot_f3disc successfully set bsp to hw/bsp/stm32f3discovery\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc compiler_def=optimized\n        Target boot_f3disc successfully set compiler_def to debug\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc compiler=arm-none-eabi-m4\n        Target boot_f3disc successfully set compiler to arm-none-eabi-m4\n\n        [user:~/dev/test_project]$ newt target
  set boot_f3disc arch=cortex_m4\n        Target boot_f3disc successfully set arch to cortex_m4\n\n        [user:~/dev/test_project]$ newt target show blink_f3disc\n        blink_f3disc\n            arch=cortex_m4\n            bsp=hw/bsp/stm32f3discovery\n            compiler=arm-none-eabi-m4\n            compiler_def=debug\n            name=blink_f3disc\n            project=blinky\n\n        [user:~/dev/test_project]$ newt target show boot_f3disc\n        boot_f3disc\n            arch=cortex_m4\n            bsp=hw/bsp/stm32f3discovery\n            compiler=arm-none-eabi-m4\n            compiler_def=debug\n            name=blink_f3disc\n            project=boot\n\n\n\n\n\n\n\nSTM32F3 blinky project is too large to operate with newlib libc. You need to modify project/blinky/pkg.yml, and switch over to using baselibc.\n\n\n\n\n        [user:~/dev/test_project]$ cat project/blinky/pkg.yml \n        #\n        # Licensed to the Apache Software Foundation (ASF) under one\n        # or mor
 e contributor license agreements.  See the NOTICE file\n        # distributed with this work for additional information\n        # regarding copyright ownership.  The ASF licenses this file\n        # to you under the Apache License, Version 2.0 (the\n        # \nLicense\n); you may not use this file except in compliance\n        # with the License.  You may obtain a copy of the License at\n        #\n        #  http://www.apache.org/licenses/LICENSE-2.0\n        #\n        # Unless required by applicable law or agreed to in writing,\n        # software distributed under the License is distributed on an\n        # \nAS IS\n BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n        # KIND, either express or implied.  See the License for the\n        # specific language governing permissions and limitations\n        # under the License.\n        #\n\n        pkg.name: project/blinky\n        pkg.vers: 0.8.0\n        pkg.description: Basic example application which blinks an LED.\n      
   pkg.author: Marko Kiiskila \nmarko@runtime.io\n\n        pkg.homepage: http://mynewt.apache.org/os/get_acclimated/project2/\n        pkg.repository: https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva\n        pkg.keywords:\n\n        pkg.deps:\n            - libs/console/full\n            - libs/newtmgr\n            - libs/os\n            - libs/shell\n            - sys/config\n            - sys/log\n            - sys/stats\n            - libs/baselibc\n\n\n\n\n\n\n\n\nNext, you get to build the targets and generate an executable that can then be uploaded to the board. The STM32F3DISCOVERY board includes an ST-LINK/V2 embedded debug tool interface that will be used to program/debug the board. To program the MCU on the board, simply plug in the two jumpers on CN4, as shown in the picture in red. If you want to learn more about the board you will find the User Manual at \nhttp://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf\
 n\n\n\n\n\n\n\n\n\n\n\n\n        [user:~/dev/test_project]$ newt target build boot_f3disc\n        Building target boot_f3 (project = boot)\n        Compiling asprintf.c\n        Compiling atoi.c\n        ...\n        ...\n        Assembling startup_stm32f303xc.s\n        Archiving libstm32f3discovery.a\n        Compiling boot.c\n        Building project boot\n        Linking boot.elf\n        Successfully run!\n\n        [user:~/dev/test_project]$ newt target build blink_f3disc\n        Building target blink_f3disc (project = blinky)\n        Compiling asprintf.c\n        Compiling atoi.c\n        ...\n        ...\n        Assembling startup_stm32f303xc.s\n        Archiving libstm32f3discovery.a\n        Compiling main.c\n        Building project blinky\n        Linking blinky.elf\n        Successfully run!\n\n        [user:~/dev/test_project]$ newt target build boot_f3disc\n        Building target boot_f3disc (project = boot)\n        Building project boot\n        Successfully ru
 n!\n\n        [user:~/dev/test_project]$ newt target create-image blink_f3disc 0.0.1\n        Building target blink_f3disc (project = blinky)\n        Building project blinky\n\n\n\n\n\n\n\nFinally, you have to download the image on to the board. You will see a blue light start to blink.\n\n\n\n\n        [user:~/dev/test_project]$ newt target download boot_f3disc\n        Downloading with /Users/user/dev/test_project/hw/bsp/stm32f3discovery/stm32f3discovery_download.sh\n\n        [user:~/dev/test_project]$ newt target download blink_f3disc\n        Downloading with /Users/user/dev/test_project/hw/bsp/stm32f3discovery/stm32f3discovery_download.sh", 
             "title": "Blinky on STM32F303"
         }, 
         {
@@ -242,7 +242,7 @@
         }, 
         {
             "location": "/os/tutorials/STM32F303/#step-by-step-instructions-to-build-image", 
-            "text": "The first step is to download the generic skeleton of the project. The pkgs constituting the skeleton are not hardware architecture specific. The skeleton is maintained as an app in a separate repository on Apache. You know it is an app because there is an app.yml file.            [user:~/dev]$ newt app create test_project\n        Downloading app skeleton from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-tadpole.git... ok!\n        app test_project successfully created in ~/dev/go/test_project\n\n        [user:~/dev]$ cd test_project/\n        [user:~/dev/test_project]$ ls\n        README.md   compiler    hw      libs    app.yml   Next, the pkg-list named larva is added from the app (also named larva) from another repository on Apache. This step simply downloads the pkg-list description file and does not actually install the pkgs that constitute the pkg-list. The pkg-list description file ( pkg-list.yml ) will be used to check dependencies during th
 e pkg install to ensure completeness. It serves as a reference for all the pkgs in the pkg-list that one can choose from and install.           [user:~/dev/test_project]$ newt app add-pkg-list larva https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git\n        Downloading pkg-list.yml from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git/master... ok!\n        Verifying pkg-list.yml format...\n        ok!\n        pkg-list larva successfully installed to app.   The next step is to install relevant pkgs from the larvan app on github. The instructions assume that you know what application or project you are interested in (the blinky application, in this case), what hardware you are using (STM32F3DISCOVERY board, in this case) and hence, what board support package you need.    \n        [user:~/dev/test_project]$ newt pkg install project/blinky          \n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master
 ... ok!\n        Installing project/blinky\n        Installing libs/console/full\n        Installing libs/shell\n        Installation was a success!\n\n        [user:~/dev/test_project]$ newt pkg install hw/bsp/stm32f3discovery\n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!\n        Installing hw/bsp/stm32f3discovery\n        Installing hw/mcu/stm/stm32f3xx\n        Installing libs/cmsis-core\n        Installing compiler/arm-none-eabi-m4\n        Installation was a success!   It's time to create a target for the project and define the target attributes.            [user:~/dev/test_project]$ newt target create blink_f3disc\n        Creating target blink_f3disc\n        Target blink_f3disc successfully created!\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc project=blinky\n        Target blink_f3disc successfully set project to blinky\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc bsp
 =hw/bsp/stm32f3discovery\n        Target blink_f3disc successfully set bsp to hw/bsp/stm32f3discovery\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler_def=debug\n        Target blink_f3disc successfully set compiler_def to debug\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler=arm-none-eabi-m4\n        Target blink_f3disc successfully set compiler to arm-none-eabi-m4\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc arch=cortex_m4\n        Target blink_f3disc successfully set arch to cortex_m4\n\n        [user:~/dev/test_project]$ newt target show blink_f3disc\n        blink_f3disc\n            arch: cortex_m4\n            project: blinky\n            bsp: hw/bsp/stm32f3discovery\n            compiler_def: debug\n            compiler: arm-none-eabi-m4\n            name: blink_f3disc    Next, you get to build the target and generate an executable that can then be uploaded to the board. The STM32F3DISCOVERY board i
 ncludes an ST-LINK/V2 embedded debug tool interface that will be used to program/debug the board. To program the MCU on the board, simply plug in the two jumpers on CN4, as shown in the picture in red. If you want to learn more about the board you will find the User Manual at  http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf               [user:~/dev/test_project]$ newt target build blink_f3disc\n        Building target blink_f3disc (project = blinky)\n        Compiling case.c\n        Compiling suite.c\n        Compiling testutil.c\n        Compiling testutil_arch_arm.c\n        Archiving libtestutil.a\n        Compiling os.c\n        Compiling os_callout.c\n        Compiling os_eventq.c\n        Compiling os_heap.c\n        Compiling os_mbuf.c\n        Compiling os_mempool.c\n        Compiling os_mutex.c\n        Compiling os_sanity.c\n        Compiling os_sched.c\n        Compiling os_sem.c\n        Compiling os_task.c\n        C
 ompiling os_time.c\n        Compiling os_arch_arm.c\n        Assembling HAL_CM4.s\n        Assembling SVC_Table.s\n        Archiving libos.a\n        Compiling hal_gpio.c\n        Compiling stm32f3xx_hal_gpio.c\n        Archiving libstm32f3xx.a\n        Compiling cmsis_nvic.c\n        Compiling libc_stubs.c\n        Compiling os_bsp.c\n        Compiling sbrk.c\n        Compiling system_stm32f3xx.c\n        Assembling startup_stm32f303xc.s\n        Archiving libstm32f3discovery.a\n        Compiling main.c\n        Building project blinky\n        Linking blinky.elf\n        Successfully run!   Finally, you have to download the image on to the board. You will see a blue light start to blink.           [user:~/dev/test_project]$ newt target download blink_f3disc\n        Downloading with /Users/user/dev/test_project/hw/bsp/stm32f3discovery/stm32f3discovery_download.sh", 
+            "text": "The first step is to download the generic skeleton of the project. The pkgs constituting the skeleton are not hardware architecture specific. The skeleton is maintained as an app in a separate repository on Apache. You know it is an app because there is an app.yml file.            [user:~/dev]$ newt app create test_project\n        Downloading app skeleton from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-tadpole.git... ok!\n        app test_project successfully created in ~/dev/go/test_project\n\n        [user:~/dev]$ cd test_project/\n        [user:~/dev/test_project]$ ls\n        README.md   compiler    hw      libs    app.yml   Next, the pkg-list named larva is added from the app (also named larva) from another repository on Apache. This step simply downloads the pkg-list description file and does not actually install the pkgs that constitute the pkg-list. The pkg-list description file ( pkg-list.yml ) will be used to check dependencies during th
 e pkg install to ensure completeness. It serves as a reference for all the pkgs in the pkg-list that one can choose from and install.           [user:~/dev/test_project]$ newt app add-pkg-list larva https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git\n        Downloading pkg-list.yml from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git/master... ok!\n        Verifying pkg-list.yml format...\n        ok!\n        pkg-list larva successfully installed to app.   The next step is to install relevant pkgs from the larva app from git server on Apache. The instructions assume that you know what application or project you are interested in (the blinky application, in this case), what hardware you are using (STM32F3DISCOVERY board, in this case) and hence, what board support package you need.    \n        [user:~/dev/test_project]$ newt pkg install project/blinky          \n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-myne
 wt-larva/master... ok!\n        Installing project/blinky\n        Installing libs/console/full\n        Installing libs/shell\n        Installation was a success!\n\n        [user:~/dev/test_project]$ newt pkg install hw/bsp/stm32f3discovery\n        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!\n        Installing hw/bsp/stm32f3discovery\n        Installing hw/mcu/stm/stm32f3xx\n        Installing libs/cmsis-core\n        Installing compiler/arm-none-eabi-m4\n        Installation was a success!   It's time to create a targets for the project and define the target attributes. STM32F3 BSP expects bootloader, so create targets for both blinky and bootloader.           [user:~/dev/test_project]$ newt target create blink_f3disc\n        Creating target blink_f3disc\n        Target blink_f3disc successfully created!\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc project=blinky\n        Target blink_f3disc successf
 ully set project to blinky\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc bsp=hw/bsp/stm32f3discovery\n        Target blink_f3disc successfully set bsp to hw/bsp/stm32f3discovery\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler_def=debug\n        Target blink_f3disc successfully set compiler_def to debug\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc compiler=arm-none-eabi-m4\n        Target blink_f3disc successfully set compiler to arm-none-eabi-m4\n\n        [user:~/dev/test_project]$ newt target set blink_f3disc arch=cortex_m4\n        Target blink_f3disc successfully set arch to cortex_m4\n\n        [user:~/dev/test_project]$ newt target create boot_f3disc\n        Creating target boot_f3disc\n        Target boot_f3disc successfully created!\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc project=boot\n        Target blink_f3disc successfully set project to blinky\n\n        [user:~/dev/test_pro
 ject]$ newt target set boot_f3disc bsp=hw/bsp/stm32f3discovery\n        Target boot_f3disc successfully set bsp to hw/bsp/stm32f3discovery\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc compiler_def=optimized\n        Target boot_f3disc successfully set compiler_def to debug\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc compiler=arm-none-eabi-m4\n        Target boot_f3disc successfully set compiler to arm-none-eabi-m4\n\n        [user:~/dev/test_project]$ newt target set boot_f3disc arch=cortex_m4\n        Target boot_f3disc successfully set arch to cortex_m4\n\n        [user:~/dev/test_project]$ newt target show blink_f3disc\n        blink_f3disc\n            arch=cortex_m4\n            bsp=hw/bsp/stm32f3discovery\n            compiler=arm-none-eabi-m4\n            compiler_def=debug\n            name=blink_f3disc\n            project=blinky\n\n        [user:~/dev/test_project]$ newt target show boot_f3disc\n        boot_f3disc\n            ar
 ch=cortex_m4\n            bsp=hw/bsp/stm32f3discovery\n            compiler=arm-none-eabi-m4\n            compiler_def=debug\n            name=blink_f3disc\n            project=boot   STM32F3 blinky project is too large to operate with newlib libc. You need to modify project/blinky/pkg.yml, and switch over to using baselibc.           [user:~/dev/test_project]$ cat project/blinky/pkg.yml \n        #\n        # Licensed to the Apache Software Foundation (ASF) under one\n        # or more contributor license agreements.  See the NOTICE file\n        # distributed with this work for additional information\n        # regarding copyright ownership.  The ASF licenses this file\n        # to you under the Apache License, Version 2.0 (the\n        #  License ); you may not use this file except in compliance\n        # with the License.  You may obtain a copy of the License at\n        #\n        #  http://www.apache.org/licenses/LICENSE-2.0\n        #\n        # Unless required by applicabl
 e law or agreed to in writing,\n        # software distributed under the License is distributed on an\n        #  AS IS  BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n        # KIND, either express or implied.  See the License for the\n        # specific language governing permissions and limitations\n        # under the License.\n        #\n\n        pkg.name: project/blinky\n        pkg.vers: 0.8.0\n        pkg.description: Basic example application which blinks an LED.\n        pkg.author: Marko Kiiskila  marko@runtime.io \n        pkg.homepage: http://mynewt.apache.org/os/get_acclimated/project2/\n        pkg.repository: https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva\n        pkg.keywords:\n\n        pkg.deps:\n            - libs/console/full\n            - libs/newtmgr\n            - libs/os\n            - libs/shell\n            - sys/config\n            - sys/log\n            - sys/stats\n            - libs/baselibc    Next, you get to build the targets and 
 generate an executable that can then be uploaded to the board. The STM32F3DISCOVERY board includes an ST-LINK/V2 embedded debug tool interface that will be used to program/debug the board. To program the MCU on the board, simply plug in the two jumpers on CN4, as shown in the picture in red. If you want to learn more about the board you will find the User Manual at  http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf               [user:~/dev/test_project]$ newt target build boot_f3disc\n        Building target boot_f3 (project = boot)\n        Compiling asprintf.c\n        Compiling atoi.c\n        ...\n        ...\n        Assembling startup_stm32f303xc.s\n        Archiving libstm32f3discovery.a\n        Compiling boot.c\n        Building project boot\n        Linking boot.elf\n        Successfully run!\n\n        [user:~/dev/test_project]$ newt target build blink_f3disc\n        Building target blink_f3disc (project = blinky)\n     
    Compiling asprintf.c\n        Compiling atoi.c\n        ...\n        ...\n        Assembling startup_stm32f303xc.s\n        Archiving libstm32f3discovery.a\n        Compiling main.c\n        Building project blinky\n        Linking blinky.elf\n        Successfully run!\n\n        [user:~/dev/test_project]$ newt target build boot_f3disc\n        Building target boot_f3disc (project = boot)\n        Building project boot\n        Successfully run!\n\n        [user:~/dev/test_project]$ newt target create-image blink_f3disc 0.0.1\n        Building target blink_f3disc (project = blinky)\n        Building project blinky   Finally, you have to download the image on to the board. You will see a blue light start to blink.           [user:~/dev/test_project]$ newt target download boot_f3disc\n        Downloading with /Users/user/dev/test_project/hw/bsp/stm32f3discovery/stm32f3discovery_download.sh\n\n        [user:~/dev/test_project]$ newt target download blink_f3disc\n        Downloading 
 with /Users/user/dev/test_project/hw/bsp/stm32f3discovery/stm32f3discovery_download.sh", 
             "title": "Step by Step Instructions to build image"
         }, 
         {
@@ -5252,7 +5252,7 @@
         }, 
         {
             "location": "/newt/newt_mac/", 
-            "text": "Building newt tool on your Mac\n\n\nGetting your Mac Ready\n\n\nIf you want to build the newt tool from its source code you need to install \n\n\nInstalling Homebrew to ease installs on OS X\n\n\n\n\nDo you have Homebrew? If not, open a terminal on your Mac and paste the following at a Terminal prompt. It will ask you for your sudo password.\n\n\n\n\n        $ ruby -e \n$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\n\n\n\n\n\nAlternatively, you can just extract (or \ngit clone\n) Homebrew and install it to \n/usr/local\n.\n\n\nInstalling Go\n\n\n\n\n\n\nThe directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:\n\n\n\n\n\n\nsrc contains Go source files organized into packages (one package per directory),\n\n\n\n\n\n\npkg contains package objects, and\n\n\n\n\n\n\nbin contains executable commands.\n\n\n\n\n\n\nThe GO
 PATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the newt tool repository.\n\n\n\n\n\n\n        $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=`pwd`\n\n\n\n\nNote that you need to add export statements to ~/.bash_profile to export variables permanently. Don't forget to source the file for the change to go into effect.\n\n\n        $ vi ~/.bash_profile\n        $ source ~/.bash_profile\n\n\n\n\n\n\nNext you will use Homebrew to install Go. The summary message at the end of the installation should indicate that it is installed in the /usr/local/Cellar/go/ directory. You will use the Go command 'install' to compile and install packages (called eggs in the Mynewt world) and dependencies. \n\n\n\n\n        $ brew install go\n        ==\n \n        ...\n        ... \n        ==\n *Summar
 y*\n        \ud83c\udf7a  /usr/local/Cellar/go/1.5.1: 5330 files, 273M\n\n\n\n\nAlternatively, you can download the Go package directly from (https://golang.org/dl/) instead of brewing it. Install it in /usr/local directory.\n\n\nCreating local repository\n\n\n\n\nYou are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.\n\n\n\n\n        $ go get mynewt.apache.org/newt/...\n\n\n\n\n\n\n\nCheck that newt.go is in place.\n\n\n\n\n        $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt  \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt\n\n\n\n\nBuilding the Newt tool\n\n\n\n\nYou will use Go to run the newt.go program to build the newt tool. The command used is \ngo install\n which compiles and writes the resulting executable to an outpu
 t file named \nnewt\n. It installs the results along with its dependencies in $GOPATH/bin.\n\n\n\n\n        $ cd $GOPATH/src/mynewt.apache.org/newt/newt\n        $ go install\n        $ ls \n$GOPATH\n/bin/\n        newt    newtmgr newtvm\n\n\n\n\n\n\nTry running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.\n\n\n\n\nNote: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in \nexport newt=\"go run $GOPATH/mynewt.apache.org/newt/newt/newt.go\"\n in your .bash_profile and execute it by calling \n$newt\n at the prompt instead of \nnewt\n. Essentially, \n$newt\n calls \ngo run\n which runs the compiled binary directly without producing an executable. Don't forget to reload the updated bash profile by typing \nso
 urce ~/.bash_profile\n at the prompt! \n\n\n        $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [\ncommand-name\n]\n           For help on \ncommand-name\n.  If not specified, print this message.\n\n\n        Available Commands:\n         version     Di
 splay the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests \n clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use \nnewt help [command]\n for more information about a command.\n\n\n\n\n\n\nWithout creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the tool.", 
+            "text": "Building newt tool on your Mac\n\n\nGetting your Mac Ready\n\n\nIf you want to build the \nnewt\n tool from its source code, follow the following steps:\n\n\n1. Install Homebrew on your Mac OS X\n\n\n\n\nDo you have Homebrew? If not, open a terminal on your Mac and paste the following at a Terminal prompt. It will ask you for your sudo password.\n\n\n\n\n        $ ruby -e \n$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\n\n\n\n\n\nAlternatively, you can just extract (or \ngit clone\n) Homebrew and install it to \n/usr/local\n.\n\n\n2. Install Go, the programming language\n\n\n\n\n\n\nGo language enviroment dictates a directory structure. Known in Go parlanace as workspace, it must contain three sibling directories with the directory names src, pkg and bin, as explained below. \n\n\n\n\n\n\nsrc contains Go source files organized into packages (one package per directory),\n\n\n\n\n\n\npkg contains package objects, and\n\n\n\n\n\n\n
 bin contains executable commands.\n\n\n\n\n\n\nThe GOPATH environment variable specifies the location of your workspace. To setup this workspace environment, create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the \nnewt\n tool repository.\n\n\n\n\n\n\n        $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=`pwd`\n\n\n\n\n(Note that you need to add export statements to ~/.bash_profile to export variables permanently. Don't forget to source the file for the change to go into effect.)\n\n\n        $ vi ~/.bash_profile\n        $ source ~/.bash_profile\n\n\n\n\n\n\nNext, using \nbrew\n, install Go. When installed, Go offers you as a developer a language enviroment (to compile Go code), construct Go packages (to assemble Go packages) and import Go code (from github). In the next step, you will use the Go commands to import \nnewt\n repo into your local Go enviro
 nment.\n\n\n\n\n        $ brew install go\n        ==\n \n        ...\n        ... \n        ==\n *Summary*\n        \ud83c\udf7a  /usr/local/Cellar/go/1.5.1: 5330 files, 273M\n\n\n\n\nAlternatively, you can download the Go package directly from (https://golang.org/dl/) instead of brewing it. Install it in /usr/local directory.\n\n\n3. Create local repository\n\n\n\n\nUse Go commands to copy the directory (currently the ASF incubator directory). Be patient as it may take a minute or two. Check the directories installed.\n\n\n\n\n        $ go get mynewt.apache.org/newt/...\n\n\n\n\n\n\n\nCheck that newt.go is in place.\n\n\n\n\n        $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt  \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt\n\n\n\n\n4. Build the Newt tool\n\n\n\n\nUse Go to run the newt.go program to build the \nnewt\n tool. The command \ngo install\n compiles and writes t
 he resulting executable to an output file named \nnewt\n, which is then installed, along with its dependencies, in $GOPATH/bin.\n\n\n\n\n        $ cd $GOPATH/src/mynewt.apache.org/newt/newt\n        $ go install\n        $\n        $ ls \n$GOPATH\n/bin/\n        newt newtmgr newtvm\n\n\n\n\n\n\nAt this point, you can try using \nnewt\n. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.\n\n\n\n\n(Note: If you are going to be modifying the \nnewt\n often and going to be compile the program every time you call it, you will want to store the command in a variable in your .bash_profile. So type in \nexport newt=\"go run $GOPATH/mynewt.apache.org/newt/newt/newt.go\"\n in your .bash_profile and execute it by calling \n$newt\n at the prompt instead of \nnewt\n. Essentially, \n$newt\n calls \ngo run\n which runs the compiled binary directly without producing an executable. Don't forget to reload 
 the updated bash profile by typing \nsource ~/.bash_profile\n at the prompt! )\n\n\n        $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [\ncommand-name\n]\n           For help on \ncommand-name\n.  If not specified, print this message.\n\n\n        Avai
 lable Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests \n clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use \nnewt help [command]\n for more information about a command.\n\n\n\n\n\n\nWithout creating a project repository, you can't do a whole lot with the *newt tool. So you'll have to wait till you have downloaded an app to try out the tool.", 
             "title": "Install newt from source on Mac"
         }, 
         {
@@ -5262,32 +5262,32 @@
         }, 
         {
             "location": "/newt/newt_mac/#getting-your-mac-ready", 
-            "text": "If you want to build the newt tool from its source code you need to install", 
+            "text": "If you want to build the  newt  tool from its source code, follow the following steps:", 
             "title": "Getting your Mac Ready"
         }, 
         {
-            "location": "/newt/newt_mac/#installing-homebrew-to-ease-installs-on-os-x", 
+            "location": "/newt/newt_mac/#1-install-homebrew-on-your-mac-os-x", 
             "text": "Do you have Homebrew? If not, open a terminal on your Mac and paste the following at a Terminal prompt. It will ask you for your sudo password.           $ ruby -e  $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)   Alternatively, you can just extract (or  git clone ) Homebrew and install it to  /usr/local .", 
-            "title": "Installing Homebrew to ease installs on OS X"
+            "title": "1. Install Homebrew on your Mac OS X"
         }, 
         {
-            "location": "/newt/newt_mac/#installing-go", 
-            "text": "The directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:    src contains Go source files organized into packages (one package per directory),    pkg contains package objects, and    bin contains executable commands.    The GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the newt tool repository.            $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=`pwd`  Note that you need to add export statements to ~/.bash_profile to export variables permanently. Don't forget to source the file for the change to go into effect.          $ vi ~/.bash_profile\n        $ source ~/.bash_profile   Next you will use Homebrew to install Go. The summary message
  at the end of the installation should indicate that it is installed in the /usr/local/Cellar/go/ directory. You will use the Go command 'install' to compile and install packages (called eggs in the Mynewt world) and dependencies.            $ brew install go\n        ==  \n        ...\n        ... \n        ==  *Summary*\n        \ud83c\udf7a  /usr/local/Cellar/go/1.5.1: 5330 files, 273M  Alternatively, you can download the Go package directly from (https://golang.org/dl/) instead of brewing it. Install it in /usr/local directory.", 
-            "title": "Installing Go"
+            "location": "/newt/newt_mac/#2-install-go-the-programming-language", 
+            "text": "Go language enviroment dictates a directory structure. Known in Go parlanace as workspace, it must contain three sibling directories with the directory names src, pkg and bin, as explained below.     src contains Go source files organized into packages (one package per directory),    pkg contains package objects, and    bin contains executable commands.    The GOPATH environment variable specifies the location of your workspace. To setup this workspace environment, create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the  newt  tool repository.            $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=`pwd`  (Note that you need to add export statements to ~/.bash_profile to export variables permanently. Don't forget to source the file for the change to go into effect.)          $ vi ~/.bash_profile\n        $ source ~/.bash_profile   Nex
 t, using  brew , install Go. When installed, Go offers you as a developer a language enviroment (to compile Go code), construct Go packages (to assemble Go packages) and import Go code (from github). In the next step, you will use the Go commands to import  newt  repo into your local Go environment.           $ brew install go\n        ==  \n        ...\n        ... \n        ==  *Summary*\n        \ud83c\udf7a  /usr/local/Cellar/go/1.5.1: 5330 files, 273M  Alternatively, you can download the Go package directly from (https://golang.org/dl/) instead of brewing it. Install it in /usr/local directory.", 
+            "title": "2. Install Go, the programming language"
         }, 
         {
-            "location": "/newt/newt_mac/#creating-local-repository", 
-            "text": "You are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.           $ go get mynewt.apache.org/newt/...   Check that newt.go is in place.           $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt  \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt", 
-            "title": "Creating local repository"
+            "location": "/newt/newt_mac/#3-create-local-repository", 
+            "text": "Use Go commands to copy the directory (currently the ASF incubator directory). Be patient as it may take a minute or two. Check the directories installed.           $ go get mynewt.apache.org/newt/...   Check that newt.go is in place.           $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt  \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt", 
+            "title": "3. Create local repository"
         }, 
         {
-            "location": "/newt/newt_mac/#building-the-newt-tool", 
-            "text": "You will use Go to run the newt.go program to build the newt tool. The command used is  go install  which compiles and writes the resulting executable to an output file named  newt . It installs the results along with its dependencies in $GOPATH/bin.           $ cd $GOPATH/src/mynewt.apache.org/newt/newt\n        $ go install\n        $ ls  $GOPATH /bin/\n        newt    newtmgr newtvm   Try running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.   Note: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in  export newt=\"go run $GOPATH/mynewt.apache.org/newt/newt/newt.go\"  in your .bash_profile and execute it by calling  $newt  at the prompt instead of  newt . Essentially,  $newt  calls 
  go run  which runs the compiled binary directly without producing an executable. Don't forget to reload the updated bash profile by typing  source ~/.bash_profile  at the prompt!           $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [ command-name ]\n 
           For help on  command-name .  If not specified, print this message.\n\n\n        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests   clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel= WARN : Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use  newt help [command]  for more information about a command.   Without creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the tool.", 
-            "title": "Building the Newt tool"
+            "location": "/newt/newt_mac/#4-build-the-newt-tool", 
+            "text": "Use Go to run the newt.go program to build the  newt  tool. The command  go install  compiles and writes the resulting executable to an output file named  newt , which is then installed, along with its dependencies, in $GOPATH/bin.           $ cd $GOPATH/src/mynewt.apache.org/newt/newt\n        $ go install\n        $\n        $ ls  $GOPATH /bin/\n        newt newtmgr newtvm   At this point, you can try using  newt . For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.   (Note: If you are going to be modifying the  newt  often and going to be compile the program every time you call it, you will want to store the command in a variable in your .bash_profile. So type in  export newt=\"go run $GOPATH/mynewt.apache.org/newt/newt/newt.go\"  in your .bash_profile and execute it by calling  $newt  at the prompt instead of  newt . Essentially,  $newt  calls  go run  which runs t
 he compiled binary directly without producing an executable. Don't forget to reload the updated bash profile by typing  source ~/.bash_profile  at the prompt! )          $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [ command-name ]\n           For help o
 n  command-name .  If not specified, print this message.\n\n\n        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests   clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel= WARN : Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use  newt help [command]  for more information about a command.   Without creating a project repository, you can't do a whole lot with the *newt tool. So you'll have to wait till you have downloaded an app to try out the tool.", 
+            "title": "4. Build the Newt tool"
         }, 
         {
             "location": "/newt/newt_linux/", 
-            "text": "Building newt tool on Linux\n\n\nGetting your Ubuntu machine Ready\n\n\nInstalling some prerequisites\n\n\n\n\nInstall git, libcurl, and the Go language if you do not have them already.\n\n\n\n\n        $ sudo apt-get install git \n        $ sudo apt-get install libcurl4-gnutls-dev \n        $ sudo apt-get install golang \n\n\n\n\nCreating local repository\n\n\n\n\n\n\nThe directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:\n\n\n\n\n\n\nsrc contains Go source files organized into packages (one package per directory),\n\n\n\n\n\n\npkg contains package objects, and\n\n\n\n\n\n\nbin contains executable commands.\n\n\n\n\n\n\n\n\n\n\nThe GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone
  the newt tool repository.\n\n\n        $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=$PWD\n\n\n\n\nNote that you need to add export statements to ~/.bashrc (or equivalent) to export variables permanently.\n\n\n\n\nYou are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.\n\n\n\n\n        $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ ls\n         bin    pkg    src\n        $ ls src\n        git-wip-us.apache.org   github.com      gopkg.in\n\n\n\n\n\n\nCheck that newt is in place.\n\n\n\n\n        $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt\n\n\n\n\nBuilding the newt tool\n\n\n\n\nYou will use Go to run the
  newt.go program to build the newt tool. The command used is  \ngo install\n which compiles and writes the resulting executable to an output file named \nnewt\n. It installs the results along with its dependencies in $GOPATH/bin.\n\n\n\n\n        $ cd $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ go install\n        $ ls \n$GOPATH\n/bin/\n        godep       incubator-mynewt-newt.git     newt\n\n\n\n\n\n\nTry running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.\n\n\n\n\nNote: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in \nexport newt=\"go run $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/newt/go\"\n in your ~/.bashrc (or equivalen
 t) and execute it by calling \n$newt\n at the prompt instead of \nnewt\n. Here, you use \ngo run\n which runs the compiled binary directly without producing an executable.   \n\n\n        $ newt version\n        Newt version:  1.0\n        $ newt -h\n        Newt allows you to create your own embedded project based on the Mynewt\n        operating system. Newt provides both build and package management in a\n        single tool, which allows you to compose an embedded workspace, and set\n        of projects, and then build the necessary artifacts from those projects.\n        For more information on the Mynewt operating system, please visit\n        https://www.github.com/mynewt/documentation.\n\n        Please use the newt help command, and specify the name of the command\n        you want help for, for help on how to use a specific command\n\n        Usage:\n         newt [flags]\n         newt [command]\n\n        Examples:\n         newt\n         newt help [\ncommand-name\n]\n 
           For help on \ncommand-name\n.  If not specified, print this message.\n\n\n        Available Commands:\n         version     Display the Newt version number.\n         target      Set and view target information\n         egg         Commands to list and inspect eggs on a nest\n         nest        Commands to manage nests \n clutches (remote egg repositories)\n         help        Help about any command\n\n        Flags:\n         -h, --help=false: help for newt\n         -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n         -q, --quiet=false: Be quiet; only display error output.\n         -s, --silent=false: Be silent; don't output anything.\n         -v, --verbose=false: Enable verbose output when executing commands.\n\n\n        Use \nnewt help [command]\n for more information about a command.\n\n\n\n\n\n\nWithout creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the too
 l.", 
+            "text": "Building newt tool on Linux\n\n\nGetting your Ubuntu machine Ready\n\n\n1. Install prerequisites\n\n\n\n\nInstall git, libcurl, and the Go language if you do not have them already.\n\n\n\n\n        $ sudo apt-get install git \n        $ sudo apt-get install libcurl4-gnutls-dev \n        $ sudo apt-get install golang \n\n\n\n\n2. Create local repository\n\n\n\n\n\n\nGo language enviroment dictates a directory structure. Known in Go parlanace as workspace, it must contain three sibling directories with the directory names src, pkg and bin, as explained below. \n\n\n\n\n\n\nsrc contains Go source files organized into packages (one package per directory),\n\n\n\n\n\n\npkg contains package objects, and\n\n\n\n\n\n\nbin contains executable commands.\n\n\n\n\n\n\nThe GOPATH environment variable specifies the location of your workspace. To setup this workspace environment, create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable t
 o this directory where you will soon clone the \nnewt\n tool repository.\n\n\n\n\n\n\n        $ cd $HOME\n        $ mkdir -p dev/go  \n        $ cd dev/go\n        $ export GOPATH=$PWD\n\n\n\n\n(Note that you need to add export statements to ~/.bashrc (or equivalent) to export variables permanently.)\n\n\n\n\nDownload the \nnewt\n tool repository by using Go to copy the directory (currently the ASF incubator directory). Be patient as it may take a minute or two. Check the directories installed.\n\n\n\n\n        $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt\n        $ ls\n         bin    pkg    src\n        $ ls src\n        git-wip-us.apache.org   github.com      gopkg.in\n\n\n\n\n\n\nCheck that newt is in place.\n\n\n\n\n        $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt \n        Godeps          README.md       coding_style.txt    newt.go\n        LICENSE         cli             design.txt\n\n\n\n\n3. Build the newt to
 ol\n\n\n\n\nUse Go to run the newt.go program to build the \nnewt\n tool. The command \ngo install\n compiles and writes the resulting executable to an output file named \nnewt\n, which is installed along with its dependencies in $GOPATH/bin.\n\n\n\n\

<TRUNCATED>