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/04/02 00:44:48 UTC
[1/6] incubator-mynewt-site git commit: added Release Notes link for
b2 release, added and updated all the newt commands,
and updated arduino zero instructions to clarify setting of a target's
features to zero and zero_pro
Repository: incubator-mynewt-site
Updated Branches:
refs/heads/asf-site 275d27e29 -> b7fbe9793
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_version/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_version/index.html b/newt/command_list/newt_version/index.html
index c2e5787..b95988d 100644
--- a/newt/command_list/newt_version/index.html
+++ b/newt/command_list/newt_version/index.html
@@ -247,19 +247,38 @@
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
- <li><a href="
- ../newt_app/
-">Command list</a>
+
+
+
+
+
-
- <ul class="current-toc">
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
<li>
- <a href="../newt_app/">newt app</a>
+ <a href="../newt_debug/">newt debug</a>
</li>
@@ -279,6 +298,36 @@
<li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
<a href="../newt_new/">newt new</a>
</li>
@@ -289,7 +338,17 @@
<li>
- <a href="../newt_pkg/">newt pkg</a>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
</li>
@@ -308,16 +367,30 @@
- <li class="active">
- newt version
+ <li>
+ <a href="../newt_test/">newt test</a>
</li>
- </ul>
-
- </li>
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt version
+ </li>
+
@@ -409,11 +482,11 @@
- <li>» <a href="../../newt_ops/">User Guide</a></li>
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
- <li>» <a href="../newt_app/">Command list</a></li>
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
@@ -440,6 +513,7 @@
<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel string Log level, defaults to WARN. (default "WARN")
+ -o, --outfile string Filename to tee output to
-q, --quiet Be quiet; only display error output.
-s, --silent Be silent; don't output anything.
-v, --verbose Enable verbose output when executing commands.
@@ -472,9 +546,9 @@
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
- <a href=../newt_target/>
+ <a href=../newt_upgrade/>
<span class="fa fa-arrow-left"></span>
- Previous: newt target
+ Previous: newt upgrade
</a>
</li>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/newt_ops/index.html
----------------------------------------------------------------------
diff --git a/newt/newt_ops/index.html b/newt/newt_ops/index.html
index a2305e3..78b25a9 100644
--- a/newt/newt_ops/index.html
+++ b/newt/newt_ops/index.html
@@ -247,13 +247,150 @@
+ <li>
+ <a href="../command_list/newt_build/">newt build</a>
+ </li>
- <li><a href="
- ../command_list/newt_app/
-">Command list</a>
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../command_list/newt_version/">newt version</a>
+ </li>
-
- </li>
@@ -415,8 +552,8 @@
</li>
<li class="pull-right">
- <a href=../command_list/newt_app/>
- Next: newt app
+ <a href=../command_list/newt_build/>
+ Next: newt build
<span class="fa fa-arrow-right"></span>
</a>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/os/tutorials/arduino_zero/index.html
----------------------------------------------------------------------
diff --git a/os/tutorials/arduino_zero/index.html b/os/tutorials/arduino_zero/index.html
index 6c6fdd6..84cdbf5 100644
--- a/os/tutorials/arduino_zero/index.html
+++ b/os/tutorials/arduino_zero/index.html
@@ -570,17 +570,22 @@ $
<h3 id="create-your-bootloader-target">Create your bootloader target<a class="headerlink" href="#create-your-bootloader-target" title="Permanent link">¶</a></h3>
<p>Next, you need to tell Newt what to build. For the Arduino Zero, we are going to
generate both a bootloader, and an image target.</p>
-<p>To generate the bootloader target, you need to specify the following options:</p>
+<p>To generate the bootloader target, you need to specify the following options. The output of the commands (indicating success) have been suppressed for easier readability. </p>
<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt target create arduino_boot
-Target targets/arduino_boot successfully created
$ newt target set arduino_boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero
-Target targets/arduino_boot successfully set target.bsp to @mynewt_arduino_zero/hw/bsp/arduino_zero
$ newt target set arduino_boot app=@apache-mynewt-core/apps/boot
-Target targets/arduino_boot successfully set target.app to @apache-mynewt-core/apps/boot
$ newt target set arduino_boot build_profile=optimized
-Target targets/arduino_boot successfully set target.build_profile to optimized
-$ newt target set arduino_boot features=arduino_zero_pro
-Target targets/arduino_boot successfully set pkg.features to arduino_zero_pro
+</pre></div>
+
+
+<p><br></p>
+<p>If you have an Arduino Zero Pro, you have to set the following next:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt target set arduino_boot features=arduino_zero_pro
+</pre></div>
+
+
+<p>If you have an Arduino Zero, you have to set the following instead:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt target set arduino_boot features=arduino_zero
</pre></div>
@@ -596,9 +601,7 @@ Target targets/arduino_boot successfully set pkg.features to arduino_zero_pro
<li>Use the "optimized" build profile for the <code>arduino_boot</code> target. This
instructs Newt to generate smaller and more efficient code for this target.
This setting is necessary due to the bootloader's strict size constraints.</li>
-<li>Tells the Board Support Package to enable support for the Arduino Zero Pro, and not
- the Arduino Zero. This is done through setting a build feature. If you are building
- for an Arduino Zero, and not a Zero Pro, this feature should be set to <code>arduino_zero</code>.</li>
+<li>Tells the Board Support Package to enable support for the Arduino Zero Pro or the Arduino Zero. Set it to <code>arduino_zero</code> or <code>arduino_zero_pro</code> depending on the board you have.</li>
</ul>
<p><br></p>
<h3 id="build-your-bootloader">Build your bootloader<a class="headerlink" href="#build-your-bootloader" title="Permanent link">¶</a></h3>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/sitemap.xml
----------------------------------------------------------------------
diff --git a/sitemap.xml b/sitemap.xml
index 2441412..f5a1359 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -12,7 +12,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -20,7 +20,7 @@
<url>
<loc>http://mynewt.apache.org/documentation/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -28,7 +28,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -36,7 +36,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -44,7 +44,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -53,7 +53,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/introduction/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -93,7 +93,7 @@
<url>
<loc>http://mynewt.apache.org/newt/newt_intro/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -105,7 +105,7 @@
<url>
<loc>http://mynewt.apache.org/newt/newt_operation/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -121,13 +121,13 @@
<url>
<loc>http://mynewt.apache.org/newtmgr/overview/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/newtmgr/installing/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -143,13 +143,13 @@
<url>
<loc>http://mynewt.apache.org/os/tutorials/how_to_edit_docs/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2016-03-29</lastmod>
+ <lastmod>2016-04-01</lastmod>
<changefreq>daily</changefreq>
</url>
[4/6] incubator-mynewt-site git commit: added Release Notes link for
b2 release, added and updated all the newt commands,
and updated arduino zero instructions to clarify setting of a target's
features to zero and zero_pro
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_app/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_app/index.html b/newt/command_list/newt_app/index.html
deleted file mode 100644
index 4c060a3..0000000
--- a/newt/command_list/newt_app/index.html
+++ /dev/null
@@ -1,599 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-
- <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_app/">
- <link rel="shortcut icon" href="../../../img/favicon.ico">
-
- <title>newt app - Apache Mynewt</title>
-
- <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
- <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
- <link rel="stylesheet" href="../../../css/highlight.css">
- <link href="../../../css/base.css" rel="stylesheet">
- <link href="../../../css/custom.css" rel="stylesheet">
- <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
- <link href="../../../extra.css" rel="stylesheet">
-
- <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
- <![endif]-->
-
-
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
- ga('send', 'pageview');
- </script>
-
- </head>
-
-
- <body class="newt app">
-
-
- <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="logo-container">
- <img src="/img/logo.svg">
- </div>
- <div class="container-fluid">
- <!-- Collapsed navigation -->
- <div class="navbar-header">
- <!-- Expander button -->
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
-
- </div>
-
- <!-- Expanded navigation -->
- <div class="navbar-collapse collapse">
- <!-- Main navigation -->
- <ul class="nav navbar-nav navbar-right">
- <li>
- <a href="/">Home</a>
- </li>
- <li>
- <a href="/about/">About</a>
- </li>
- <li class="dropdown">
- <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
-
-
-
-
-
- <li >
- <a href="../../../documentation/">
- Overview
- </a>
- </li>
-
-
-
-
-
-
-
-
-
- <li >
- <a href="../../../os/get_started/introduction/">
- Mynewt OS Manual
- </a>
- </li>
-
-
-
- <li class="active">
- <a href="../../newt_intro/">
- Newt Tool Manual
- </a>
- </li>
-
-
-
- <li >
- <a href="../../../newtmgr/overview/">
- Newt Manager Manual
- </a>
- </li>
-
-
-
- <li >
- <a href="../../../os/tutorials/how_to_edit_docs/">
- Appendix
- </a>
- </li>
-
-
- </ul>
- </li>
- <li>
- <a href="/download/">Download</a>
- </li>
- <li>
- <a href="/community/">Community</a>
- </li>
- <li>
- <a href="/events/">Events</a>
- </li>
- </ul>
-
- <!-- Search, Navigation and Repo links -->
- <ul class="nav navbar-nav navbar-right">
-
- </ul>
- </div>
- </div>
-</div>
-
-
-
- <div class="container-fluid">
-
- <div class="row sm-extra-padding">
- <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
- <div class="sidebar-top">
- <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
- <div class="small" role="search">
- <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
- <div class="form-group">
- <input type="text" name="q" placeholder="Search documentation" />
- <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
- </div>
- </form>
- </div>
- </div>
- <ul class="nav bs-sidenav">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li><a href="
- ../../../os/get_started/introduction/
-">Mynewt OS Manual</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../newt_intro/
-">Newt Tool Manual</a>
-
-
- <ul class="current-toc">
-
-
-
-
- <li>
- <a href="../../newt_intro/">Introduction</a>
- </li>
-
-
-
-
-
-
-
-
- <li><a href="
- ../../install/newt_mac/
-">Install</a>
-
-
- </li>
-
-
-
-
-
-
- <li>
- <a href="../../newt_operation/">Newt Theory of Ops</a>
- </li>
-
-
-
-
-
-
-
-
- <li ><a href="../../newt_ops/">User Guide</a></li>
-
-
- <ul class="current-toc">
-
-
-
-
-
-
-
- <li><a href="
- ./
-">Command list</a>
-
-
- <ul class="current-toc">
-
-
-
-
- <li class="active">
- newt app
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_help/">newt help</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_new/">newt new</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_pkg/">newt pkg</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_target/">newt target</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_version/">newt version</a>
- </li>
-
-
-
-
- </ul>
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../newtmgr/overview/
-">Newt Manager Manual</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../os/tutorials/how_to_edit_docs/
-">Appendix</a>
-
-
- </li>
-
-
-
- </ul>
-</div></div>
-
- <div class="show-sidebar-container">
- <button class="show-sidebar">Docs Menu</button>
- </div>
-
- <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
- <div class="row doc-header">
- <div class="col-sm-6">
-
-<ul class="nav nav-pills">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
-
-
-
- <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
-
-
-
- <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
-
-
-
-
-</ul>
- </div>
- <div class="col-sm-6">
- <div role="navigation" aria-label="breadcrumbs navigation">
- <ul class="wy-breadcrumbs">
- <li><a href="/documentation/">Docs</a></li>
-
-
-
- <li>» <a href="../../newt_ops/">User Guide</a></li>
-
-
-
- <li>» Command list</li>
-
-
-
- <li>» newt app</li>
-
-
-
- </ul>
-</div>
- </div>
- </div>
-
- <h2 id="newt-app"><font color="#F2853F" style="font-size:24pt">newt app </font><a class="headerlink" href="#newt-app" title="Permanent link">¶</a></h2>
-<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt app [command][flags] input1 input2...
-</pre></div>
-
-
-<h4 id="available-commands">Available commands:<a class="headerlink" href="#available-commands" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> generate-pkg-list Generate a pkg-list file from the pkgs in the current directory
- add-pkg-list Add a remote pkg-list, and put it in the current app
- list-pkg-listes List the pkg-listes installed in the current app
- show-pkg-list Show an individual pkg-list in the current app
-</pre></div>
-
-
-<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for app
-</pre></div>
-
-
-<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for newt
- -l, --loglevel="WARN": Log level, defaults to WARN.
- -q, --quiet=false: Be quiet; only display error output.
- -s, --silent=false: Be silent; don't output anything.
- -v, --verbose=false: Enable verbose output when executing commands.
-</pre></div>
-
-
-<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>generate-pkg-list</td>
-<td>Takes a snapshot of the pkgs in the current local directory and combines them into a pkg-list by the name of <code>input1</code> and with the url of <code>input2</code> and generates a standard output of the pkg-list details that can be redirected to a <code>.yml</code> pkg-list file. Typically the pkg-list file name is chosen to match the pkg-list name which means the standard output should be directed to a pkg-list file named <code>input1.yml</code></td>
-</tr>
-<tr>
-<td>add-pkg-list</td>
-<td>Downloads the pkg-list of the name <code>input1</code> from the master branch of the github repository <code>input2</code> into the current app. A file named <code>input1.yml</code> file is added in the <code>.app/pkg-lists</code> subdirectory inside the current local app. The <code>.app/</code> directory structure is created automatically if it does not exist.</td>
-</tr>
-<tr>
-<td>list-pkg-lists</td>
-<td>Lists all the pkg-lists present in the current app, including pkg-lists that may have been added from other apps on github. The output shows all the remote pkg-list names and the total pkgshells in each of the pkg-lists.</td>
-</tr>
-<tr>
-<td>show-pkg-list</td>
-<td>Shows information about the pkg-list that has the name given in the <code>input1</code> argument. Output includes the pkg-list name, url, and all the constituent pkgs with their version numbers.</td>
-</tr>
-</tbody>
-</table>
-<h4 id="command-specific-flags">Command-specific flags<a class="headerlink" href="#command-specific-flags" title="Permanent link">¶</a></h4>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Available flags</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>add-pkg-list</td>
-<td>-b, --branch="<branch-name>"</td>
-<td>Fetches the pkg-list file with name <code>input1</code> from the specified branch at <code>input1</code> url of the github repository. All subsequent pkg installations will be done from that branch.</td>
-</tr>
-</tbody>
-</table>
-<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>generate-pkg-list</td>
-<td>newt app generate-pkg-list mypkg-list https://github.com/apache/incubator-mynewt-larva > mypkg-list.yml</td>
-<td>Takes a snapshot of the pkgs in the current app to form a pkg-list named mypkg-list with the url https://github.com/apache/incubator-mynewt-larva. The output is written to a file named <code>mypkg-list.yml</code> and describes the properties and contents of the pkg-list (name, url, pkgs).</td>
-</tr>
-<tr>
-<td>add-pkg-list</td>
-<td>newt app add-pkg-list larva https://github.com/apache/incubator-mynewt-larva</td>
-<td>Adds the remote pkg-list named larva at https://github.com/apache/incubator-mynewt-larva to the local app.</td>
-</tr>
-<tr>
-<td>list-pkg-lists</td>
-<td>newt app list-pkg-lists</td>
-<td>Shows all the remote pkg-list description files that been downloaded into the current app. Output includes each list with name and summary of included packages e.g. <code>Remote package list larva@master (num_pkgs: 44)</code></td>
-</tr>
-<tr>
-<td>show-pkg-list</td>
-<td>newt app show-pkg-list larva</td>
-<td>Outputs the details of the pkg-list named larva such as the github url where the remote sits, the constituent pkgs and their versions</td>
-</tr>
-</tbody>
-</table>
-
- <div class="row">
-
-
-
-
-<ul class="nav nav-pills" style="margin-bottom: 10px">
- <li>
-
- <a href=../../newt_ops/>
- <span class="fa fa-arrow-left"></span>
- Previous: User Guide
- </a>
-
- </li>
- <li class="pull-right">
-
- <a href=../newt_help/>
- Next: newt help
- <span class="fa fa-arrow-right"></span>
- </a>
-
- </li>
-</ul>
- </div>
- <div class="row">
- <footer>
- <div class="row">
- <div class="col-md-12">
-
- <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
-
- </div>
- </div>
- <div class="copyright-logos">
- <div class="row">
- <div class="col-xs-6 text-right">
- <img src="/img/apache-feather.png" alt="Apache" title="Apache">
- </div>
- <div class="col-xs-6 text-left">
- <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <small class="footnote">
- MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
- </small>
- </div>
- </div>
-</footer>
- </div>
- </div>
- </div>
-
-
- </div>
-
- <script src="../../../js/jquery-1.10.2.min.js"></script>
- <script src="../../../js/bootstrap-3.0.3.min.js"></script>
- <script src="../../../js/highlight.pack.js"></script>
- <script src="../../../js/base.js"></script>
- <script src="../../../js/custom.js"></script>
-
- </body>
-</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_build/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_build/index.html b/newt/command_list/newt_build/index.html
new file mode 100644
index 0000000..aa5b6b7
--- /dev/null
+++ b/newt/command_list/newt_build/index.html
@@ -0,0 +1,617 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_build/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt build - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt build">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li class="active">
+ newt build
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt build</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-build"><font color="#F2853F" style="font-size:24pt">newt build </font><a class="headerlink" href="#newt-build" title="Permanent link">¶</a></h2>
+<p>Compiles, links, and builds one or more apps. </p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt build [flags] input1
+</pre></div>
+
+
+<p>where <code>input1</code> is the name of the target to build.</p>
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Usage</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>build</td>
+<td>newt build <br> <code>input1</code></td>
+<td>Builds the source code into an image that can be loaded on the hardware (<code>bsp</code>) associated with the target named <code>input1</code> to run the application enabled by the <code>app</code> setting associated with that target. It creates 'bin/' directory and 'bin/<input1>/apps/<app>' subdirectory inside the base directory for the app, compiles and generates binaries and executables, and places them in that subdirectory.</td>
+</tr>
+<tr>
+<td></td>
+<td>newt build <br> my_blinky_sim</td>
+<td>For example, if <code>app</code> was set to <code>apps/blinky</code> for the target "my_blinky_sim", you will find the generated .elf, .a, and .lst files in bin/my_blinky_sim/apps/blinky directory created under the base directory for the app created using <code>newt new</code> at the start of the project.</td>
+</tr>
+<tr>
+<td>build</td>
+<td>newt build my_blinky_sim myble</td>
+<td>builds the apps defined for both the targets "my_blinky_sim" and "myble".</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../../newt_ops/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: User Guide
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_clean/>
+ Next: newt clean
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_clean/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_clean/index.html b/newt/command_list/newt_clean/index.html
new file mode 100644
index 0000000..f8c400d
--- /dev/null
+++ b/newt/command_list/newt_clean/index.html
@@ -0,0 +1,621 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_clean/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt clean - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt clean">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt clean
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt clean</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-clean"><font color="#F2853F" style="font-size:24pt">newt clean </font><a class="headerlink" href="#newt-clean" title="Permanent link">¶</a></h2>
+<p>Deletes application build artifacts for a specified target</p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt clean [flags] input1
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>clean</td>
+<td>Deletes all the build artifacts generated for target specified by <code>input1</code>. It does not delete the target definition.</td>
+</tr>
+</tbody>
+</table>
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Usage</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>clean</td>
+<td>newt clean myble2</td>
+<td>Removes all the files generated while building the target <code>myble2</code> and placed in the <code>bin/myble2</code> directory created during the build process.</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_build/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt build
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_create_image/>
+ Next: newt create-image
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_create_image/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_create_image/index.html b/newt/command_list/newt_create_image/index.html
new file mode 100644
index 0000000..8d4bdcd
--- /dev/null
+++ b/newt/command_list/newt_create_image/index.html
@@ -0,0 +1,621 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_create_image/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt create-image - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt create-image">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt create-image
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt create-image</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-create-image"><font color="#F2853F" style="font-size:24pt">newt create-image </font><a class="headerlink" href="#newt-create-image" title="Permanent link">¶</a></h2>
+<p>Creates a signed image by adding image header to created binary file for specified target. Version number in the header is set to be <version> </p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt create-image <target-name> <version> [flags]
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>create-image</td>
+<td>Signs and adds image header to the created binary file for target named <code><target-name></code> and given the version specified as <code><version></code>. The application image generated is <code><app-name>.img</code> where the app-name is the same as the app specified in the target definition. The generated application image can be found in <code>/bin/<target-name>/apps/<app-name>/</code>. <br> <br> A build manifest file <code>manifest.json</code> is also generated in the same directory. This build manifest contains information such as build time, version, image name, a hash to identify the image, packages actually used to create the build, and the target for which the image is built.</td>
+</tr>
+</tbody>
+</table>
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Usage</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>create-image</td>
+<td>newt create-image myble2 1.0.1.0</td>
+<td>Creates a signed image for target <code>myble2</code> and assigns it the version <code>1.0.1.0</code>. <br> <br> If the target is as follows: <br> targets/myble2 <br> app=@apache-mynewt-core/apps/bletiny <br> bsp=@apache-mynewt-core/hw/bsp/nrf52pdk <br> build_profile=optimized <br> cflags=-DSTATS_NAME_ENABLE <br> <br> then, the created image is <code>bin/myble2/apps/bletiny/bletiny.img</code> and the manifest is <code>bin/myble2/apps/bletiny/manifest.json</code></td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_clean/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt clean
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_debug/>
+ Next: newt debug
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_debug/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_debug/index.html b/newt/command_list/newt_debug/index.html
new file mode 100644
index 0000000..945422e
--- /dev/null
+++ b/newt/command_list/newt_debug/index.html
@@ -0,0 +1,621 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_debug/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt debug - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt debug">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt debug
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt debug</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-debug"><font color="#F2853F" style="font-size:24pt">newt debug </font><a class="headerlink" href="#newt-debug" title="Permanent link">¶</a></h2>
+<p>Opens debugger session for specified target. </p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt debug <target-name> [flag]
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>debug</td>
+<td>Opens the appropriate debugging session for the image built for the named target.</td>
+</tr>
+</tbody>
+</table>
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Usage</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>debug</td>
+<td>newt debug myble2</td>
+<td>Opens J-Link connection and starts a GNU gdb session to debug bin/myble2/apps/bletiny/bletiny.elf when the target is as follows: <br> <br> targets/myble2 <br> app=@apache-mynewt-core/apps/bletiny <br> bsp=@apache-mynewt-core/hw/bsp/nrf52pdk <br> build_profile=optimized <br> cflags=-DSTATS_NAME_ENABLE</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_create_image/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt create-image
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_help/>
+ Next: newt help
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
[3/6] incubator-mynewt-site git commit: added Release Notes link for
b2 release, added and updated all the newt commands,
and updated arduino zero instructions to clarify setting of a target's
features to zero and zero_pro
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_help/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_help/index.html b/newt/command_list/newt_help/index.html
index afee4ae..cc53ed5 100644
--- a/newt/command_list/newt_help/index.html
+++ b/newt/command_list/newt_help/index.html
@@ -247,19 +247,38 @@
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
- <li><a href="
- ../newt_app/
-">Command list</a>
+
+
+
+
+
-
- <ul class="current-toc">
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
<li>
- <a href="../newt_app/">newt app</a>
+ <a href="../newt_debug/">newt debug</a>
</li>
@@ -279,6 +298,36 @@
<li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
<a href="../newt_new/">newt new</a>
</li>
@@ -289,7 +338,17 @@
<li>
- <a href="../newt_pkg/">newt pkg</a>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
</li>
@@ -309,15 +368,29 @@
<li>
- <a href="../newt_version/">newt version</a>
+ <a href="../newt_test/">newt test</a>
</li>
- </ul>
-
- </li>
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
@@ -409,11 +482,11 @@
- <li>» <a href="../../newt_ops/">User Guide</a></li>
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
- <li>» <a href="../newt_app/">Command list</a></li>
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
@@ -427,17 +500,46 @@
</div>
<h2 id="newt-help"><font color="#F2853F" style="font-size:24pt">newt help </font><a class="headerlink" href="#newt-help" title="Permanent link">¶</a></h2>
+<p>Displays the help text for the newt command line tool:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">Newt allows you to create your own embedded application based on the Mynewt
+operating system. Newt provides both build and package management in a single
+tool, which allows you to compose an embedded application, and set of
+projects, and then build the necessary artifacts from those projects. For more
+information on the Mynewt operating system, please visit
+https://mynewt.apache.org/.
+</pre></div>
+
+
<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt help [input1]
</pre></div>
<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">-h, --help=false: help for newt
--l, --loglevel="WARN": Log level, defaults to WARN.
--q, --quiet=false: Be quiet; only display error output.
--s, --silent=false: Be silent; don't output anything.
--v, --verbose=false: Enable verbose output when executing commands.
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for newt
+ -o, --outfile string Filename to tee output to
+ -l, --loglevel="WARN": Log level, defaults to WARN.
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="available-commands">Available Commands:<a class="headerlink" href="#available-commands" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> version Display the Newt version number.
+ install Install project dependencies
+ upgrade Upgrade project dependencies
+ new Create a new project
+ info Show project info
+ target Command for manipulating targets
+ build Builds one or more targets.
+ clean Deletes build artifacts for one or more targets.
+ test Executes unit tests for one or more packages
+ load Load built target to board
+ debug Open debugger session to target
+ size Size of target components
+ create-image Add image header to target binary
+ run build/create-image/download/debug <target>
</pre></div>
@@ -472,16 +574,16 @@
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
- <a href=../newt_app/>
+ <a href=../newt_debug/>
<span class="fa fa-arrow-left"></span>
- Previous: newt app
+ Previous: newt debug
</a>
</li>
<li class="pull-right">
- <a href=../newt_new/>
- Next: newt new
+ <a href=../newt_info/>
+ Next: newt info
<span class="fa fa-arrow-right"></span>
</a>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_info/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_info/index.html b/newt/command_list/newt_info/index.html
new file mode 100644
index 0000000..9775c0e
--- /dev/null
+++ b/newt/command_list/newt_info/index.html
@@ -0,0 +1,599 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_info/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt info - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt info">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt info
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt info</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-info"><font color="#F2853F" style="font-size:24pt">newt info </font><a class="headerlink" href="#newt-info" title="Permanent link">¶</a></h2>
+<p>Shows information about the current project.</p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt info [flags]
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>info</td>
+<td>Displays the repositories in the current project (the local as well as all the external repositories fetched). Also displays the packages in the local repository.</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_help/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt help
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_install/>
+ Next: newt install
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_install/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_install/index.html b/newt/command_list/newt_install/index.html
new file mode 100644
index 0000000..33426f8
--- /dev/null
+++ b/newt/command_list/newt_install/index.html
@@ -0,0 +1,605 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_install/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt install - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt install">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt install
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt install</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-install"><font color="#F2853F" style="font-size:24pt">newt install </font><a class="headerlink" href="#newt-install" title="Permanent link">¶</a></h2>
+<p>Install project dependencies. </p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt install [flags]
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -f, --force Force install of the repositories in project, regardless of what exists in repos directory
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for newt
+ -o, --outfile string Filename to tee output to
+ -l, --loglevel="WARN": Log level, defaults to WARN.
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>install</td>
+<td>Downloads description of all the repositories specified in the project.yml file of the current project directory. Installs all the correct versions of all the packages dictated by the project dependencies. <br> <br> Always run the command from within the project directory (i.e. remember to <code>cd</code> into the app directory after creating a new app using <code>newt new</code>) before running <code>newt install</code>.</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_info/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt info
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_load/>
+ Next: newt load
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_load/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_load/index.html b/newt/command_list/newt_load/index.html
new file mode 100644
index 0000000..b556372
--- /dev/null
+++ b/newt/command_list/newt_load/index.html
@@ -0,0 +1,604 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_load/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt load - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt load">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt load
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt load</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-load"><font color="#F2853F" style="font-size:24pt">newt load </font><a class="headerlink" href="#newt-load" title="Permanent link">¶</a></h2>
+<p>Load app image to specified target. </p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt load <target-name> [flags]
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>load</td>
+<td>Uses download scripts to automatically load, onto the connected board, the image built for the app defined in the target specified by <target-name>. <br> <br> If the wrong board is connected, or the target definition is wrong (i.e. the wrong values are given for bsp or app), the command will fail with error messages such as <code>Can not connect to J-Link via USB</code> or <code>Unspecified error -1</code>.</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_install/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt install
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_new/>
+ Next: newt new
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_new/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_new/index.html b/newt/command_list/newt_new/index.html
index 84c994a..a5ab53d 100644
--- a/newt/command_list/newt_new/index.html
+++ b/newt/command_list/newt_new/index.html
@@ -247,19 +247,38 @@
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
- <li><a href="
- ../newt_app/
-">Command list</a>
+
+
+
+
+
-
- <ul class="current-toc">
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
<li>
- <a href="../newt_app/">newt app</a>
+ <a href="../newt_debug/">newt debug</a>
</li>
@@ -278,6 +297,36 @@
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
<li class="active">
newt new
</li>
@@ -289,7 +338,17 @@
<li>
- <a href="../newt_pkg/">newt pkg</a>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
</li>
@@ -309,15 +368,29 @@
<li>
- <a href="../newt_version/">newt version</a>
+ <a href="../newt_test/">newt test</a>
</li>
- </ul>
-
- </li>
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
@@ -409,11 +482,11 @@
- <li>» <a href="../../newt_ops/">User Guide</a></li>
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
- <li>» <a href="../newt_app/">Command list</a></li>
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
@@ -427,20 +500,20 @@
</div>
<h2 id="newt-new"><font color="#F2853F" style="font-size:24pt">newt new </font><a class="headerlink" href="#newt-new" title="Permanent link">¶</a></h2>
-<p>Create a new application, specified by <app-name>, from a given skeleton. If the optional <app-url> parameter is specified, then download the skeleton of the application from
-that URL instead of using the default, and create a new app directory by the name of <app-name>. Currently, the default skeleton is the <a href="https://git-wip-us.apache.org/repos/asf/incubator-mynewt-tadpole.git">tadpole repository</a> in Apache Mynewt. </p>
+<p>Create a new application, specified by <app-name>, from a given skeleton. Currently, the default skeleton is the <a href="https://git-wip-us.apache.org/repos/asf/incubator-mynewt-blinky.git">blinky repository</a> in Apache Mynewt (or <a href="https://github.com/apache/incubator-mynewt-blinky">https://github.com/apache/incubator-mynewt-blinky</a> on its github mirror.)</p>
<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt new [flags] <app-name> [, <app-url>]
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt new [flags] <app-name>
</pre></div>
<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for app
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for new
</pre></div>
<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for newt
+ -o, --outfile string Filename to tee output to
-l, --loglevel="WARN": Log level, defaults to WARN.
-q, --quiet=false: Be quiet; only display error output.
-s, --silent=false: Be silent; don't output anything.
@@ -461,12 +534,7 @@ that URL instead of using the default, and create a new app directory by the nam
<tr>
<td>newt new</td>
<td>newt new test_project</td>
-<td>Creates a new app named "test_project " using the default skeleton</td>
-</tr>
-<tr>
-<td></td>
-<td>newt new myapp <app-url></td>
-<td>Creates a new app named "myapp" using the skeleton at the <app-url> specified</td>
+<td>Creates a new app named "test_project " using the default skeleton from the <code>apache/incubator-mynewt-blinky</code> repo.</td>
</tr>
</tbody>
</table>
@@ -479,16 +547,16 @@ that URL instead of using the default, and create a new app directory by the nam
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
- <a href=../newt_help/>
+ <a href=../newt_load/>
<span class="fa fa-arrow-left"></span>
- Previous: newt help
+ Previous: newt load
</a>
</li>
<li class="pull-right">
- <a href=../newt_pkg/>
- Next: newt pkg
+ <a href=../newt_run/>
+ Next: newt run
<span class="fa fa-arrow-right"></span>
</a>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_pkg/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_pkg/index.html b/newt/command_list/newt_pkg/index.html
deleted file mode 100644
index 3c58525..0000000
--- a/newt/command_list/newt_pkg/index.html
+++ /dev/null
@@ -1,623 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-
- <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_pkg/">
- <link rel="shortcut icon" href="../../../img/favicon.ico">
-
- <title>newt pkg - Apache Mynewt</title>
-
- <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
- <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
- <link rel="stylesheet" href="../../../css/highlight.css">
- <link href="../../../css/base.css" rel="stylesheet">
- <link href="../../../css/custom.css" rel="stylesheet">
- <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
- <link href="../../../extra.css" rel="stylesheet">
-
- <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
- <![endif]-->
-
-
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
- ga('send', 'pageview');
- </script>
-
- </head>
-
-
- <body class="newt pkg">
-
-
- <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="logo-container">
- <img src="/img/logo.svg">
- </div>
- <div class="container-fluid">
- <!-- Collapsed navigation -->
- <div class="navbar-header">
- <!-- Expander button -->
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
-
- </div>
-
- <!-- Expanded navigation -->
- <div class="navbar-collapse collapse">
- <!-- Main navigation -->
- <ul class="nav navbar-nav navbar-right">
- <li>
- <a href="/">Home</a>
- </li>
- <li>
- <a href="/about/">About</a>
- </li>
- <li class="dropdown">
- <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
-
-
-
-
-
- <li >
- <a href="../../../documentation/">
- Overview
- </a>
- </li>
-
-
-
-
-
-
-
-
-
- <li >
- <a href="../../../os/get_started/introduction/">
- Mynewt OS Manual
- </a>
- </li>
-
-
-
- <li class="active">
- <a href="../../newt_intro/">
- Newt Tool Manual
- </a>
- </li>
-
-
-
- <li >
- <a href="../../../newtmgr/overview/">
- Newt Manager Manual
- </a>
- </li>
-
-
-
- <li >
- <a href="../../../os/tutorials/how_to_edit_docs/">
- Appendix
- </a>
- </li>
-
-
- </ul>
- </li>
- <li>
- <a href="/download/">Download</a>
- </li>
- <li>
- <a href="/community/">Community</a>
- </li>
- <li>
- <a href="/events/">Events</a>
- </li>
- </ul>
-
- <!-- Search, Navigation and Repo links -->
- <ul class="nav navbar-nav navbar-right">
-
- </ul>
- </div>
- </div>
-</div>
-
-
-
- <div class="container-fluid">
-
- <div class="row sm-extra-padding">
- <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
- <div class="sidebar-top">
- <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
- <div class="small" role="search">
- <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
- <div class="form-group">
- <input type="text" name="q" placeholder="Search documentation" />
- <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
- </div>
- </form>
- </div>
- </div>
- <ul class="nav bs-sidenav">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li><a href="
- ../../../os/get_started/introduction/
-">Mynewt OS Manual</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../newt_intro/
-">Newt Tool Manual</a>
-
-
- <ul class="current-toc">
-
-
-
-
- <li>
- <a href="../../newt_intro/">Introduction</a>
- </li>
-
-
-
-
-
-
-
-
- <li><a href="
- ../../install/newt_mac/
-">Install</a>
-
-
- </li>
-
-
-
-
-
-
- <li>
- <a href="../../newt_operation/">Newt Theory of Ops</a>
- </li>
-
-
-
-
-
-
-
-
- <li ><a href="../../newt_ops/">User Guide</a></li>
-
-
- <ul class="current-toc">
-
-
-
-
-
-
-
- <li><a href="
- ../newt_app/
-">Command list</a>
-
-
- <ul class="current-toc">
-
-
-
-
- <li>
- <a href="../newt_app/">newt app</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_help/">newt help</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_new/">newt new</a>
- </li>
-
-
-
-
-
-
-
- <li class="active">
- newt pkg
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_target/">newt target</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../newt_version/">newt version</a>
- </li>
-
-
-
-
- </ul>
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../newtmgr/overview/
-">Newt Manager Manual</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../os/tutorials/how_to_edit_docs/
-">Appendix</a>
-
-
- </li>
-
-
-
- </ul>
-</div></div>
-
- <div class="show-sidebar-container">
- <button class="show-sidebar">Docs Menu</button>
- </div>
-
- <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
- <div class="row doc-header">
- <div class="col-sm-6">
-
-<ul class="nav nav-pills">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
-
-
-
- <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
-
-
-
- <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
-
-
-
-
-</ul>
- </div>
- <div class="col-sm-6">
- <div role="navigation" aria-label="breadcrumbs navigation">
- <ul class="wy-breadcrumbs">
- <li><a href="/documentation/">Docs</a></li>
-
-
-
- <li>» <a href="../../newt_ops/">User Guide</a></li>
-
-
-
- <li>» <a href="../newt_app/">Command list</a></li>
-
-
-
- <li>» newt pkg</li>
-
-
-
- </ul>
-</div>
- </div>
- </div>
-
- <h2 id="newt-pkg"><font color="#F2853F" style="font-size:24pt">newt pkg </font><a class="headerlink" href="#newt-pkg" title="Permanent link">¶</a></h2>
-<p>Provides sub-commands to search, display and install packages in your current application or workspace.</p>
-<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt pkg [command][flag] input1 input2
-</pre></div>
-
-
-<h4 id="available-commands">Available Commands:<a class="headerlink" href="#available-commands" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> list List pkgs in the current app
- checkdeps Check pkg dependencies
- hunt Search for pkg from pkg-lists
- show Show the contents of a pkg.
- install Install a pkg
- remove Remove a pkg
-</pre></div>
-
-
-<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for pkg
-
-#### Global Flags:
-
- -l, --loglevel="WARN": Log level, defaults to WARN.
- -q, --quiet=false: Be quiet; only display error output.
- -s, --silent=false: Be silent; don't output anything.
- -v, --verbose=false: Enable verbose output when executing commands.
-</pre></div>
-
-
-<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>list</td>
-<td>List all the pkgs in the current app. The output shows the name, version, path, and any additional attributes of each pkg in the app such as dependencies, capabilities, and linker scripts. The newt command gets the attributes of each pkg from the corresponsing pkg.yml description file.</td>
-</tr>
-<tr>
-<td>checkdeps</td>
-<td>Resolve all dependencies in the local app. This command goes through all pkgs currently installed, checks their dependencies, and prints any unresolved dependencies between pkgs.</td>
-</tr>
-<tr>
-<td>search</td>
-<td>Searches for a pkg, specified by <code>input1</code>. The local app, along with all remote apps (pkg-lists) are searched. All matched pkgs are shown along with the pkg-list informaton. Installed pkgs are called out as such. The command can be invoked from anywhere in the app.</td>
-</tr>
-<tr>
-<td>show</td>
-<td>Show the contents of the pkg named <code>input2</code> found in the pkg-list named <code>input1</code>. The pkg-list name is optional; if only the pkg name is given as the argument it is resolved using all the pkg-lists installed in the current app. If the pkg is present in multiple pkg-lists it will list all of them along with the pkg-list information for each.</td>
-</tr>
-<tr>
-<td>install</td>
-<td>Install the pkg specified by <code>input2</code> from the pkg-list named <code>input1</code>. The command downloads the pkg from the github repository using the URL in the pkg-list description file (typically downloaded as 'input1@<branch-name>.yml' in .app/pkg-lists). It also downloads all the dependencies (constituent pkgs) as decribed in the pkg's description file ('pkg.yml') and installs all of them. The pkg-list name is optional. If only the pkg name is given as the argument, the command looks for the pkg name in all the pkg-lists in the local app and installs accordingly. A pkg is installed by this command only if it has not already been installed.</td>
-</tr>
-<tr>
-<td>remove</td>
-<td>Remove a pkg named <code>input2</code> from pkg-list <code>input1</code>, if pkg-list is specified. Otherwise only one input required - that of the name of the pkg to be removed from the local app.</td>
-</tr>
-</tbody>
-</table>
-<h4 id="command-specific-flags">Command-specific flags<a class="headerlink" href="#command-specific-flags" title="Permanent link">¶</a></h4>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Available flags</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>install</td>
-<td>-b, --branch="<branch-name>"</td>
-<td>Installs the pkgs from the branch name or tag of the pkg-list specified</td>
-</tr>
-</tbody>
-</table>
-<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>list</td>
-<td>newt pkg list</td>
-<td>CList all of the pkgs in the current app and the details of the pkgs.</td>
-</tr>
-<tr>
-<td>checkdeps</td>
-<td>newt pkg checkdeps</td>
-<td>Checks all the dependencies between pkgs in the app. Lists any unresolved dependencies.</td>
-</tr>
-<tr>
-<td>hunt</td>
-<td>newt pkg hunt blinky</td>
-<td>Hunts for the pkg named 'blinky'. The command can be invoked from anywhere in the app. Results show if the pkg is installed and which pkg-list, if any, has the pkg.</td>
-</tr>
-<tr>
-<td>show</td>
-<td>newt pkg show larva libs/os</td>
-<td>Show the contents of the pkg named 'libs/os' in the pkg-list named larva. The contents are essentially derived from the pkg's 'pkg.yml' file.</td>
-</tr>
-<tr>
-<td>install</td>
-<td>newt pkg install hw/bsp/stm32f3discovery</td>
-<td>Downloads and installs the pkg named "stm32f3discovery" (specified with its full path name inside the remote app) along with all its dependencies from the remote app on github. Since no pkg-list is specified, the URL for the remote app in the pkg-list description file found in the local app (in .app/pkg-lists for the project) is used.</td>
-</tr>
-<tr>
-<td>remove</td>
-<td>newt pkg remove larva blinky</td>
-<td>Removes the pkg named blinky only from the pkg-list named larva</td>
-</tr>
-<tr>
-<td>remove</td>
-<td>newt pkg remove blinky</td>
-<td>Removes the pkg named blinky from the local app</td>
-</tr>
-</tbody>
-</table>
-
- <div class="row">
-
-
-
-
-<ul class="nav nav-pills" style="margin-bottom: 10px">
- <li>
-
- <a href=../newt_new/>
- <span class="fa fa-arrow-left"></span>
- Previous: newt new
- </a>
-
- </li>
- <li class="pull-right">
-
- <a href=../newt_target/>
- Next: newt target
- <span class="fa fa-arrow-right"></span>
- </a>
-
- </li>
-</ul>
- </div>
- <div class="row">
- <footer>
- <div class="row">
- <div class="col-md-12">
-
- <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
-
- </div>
- </div>
- <div class="copyright-logos">
- <div class="row">
- <div class="col-xs-6 text-right">
- <img src="/img/apache-feather.png" alt="Apache" title="Apache">
- </div>
- <div class="col-xs-6 text-left">
- <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <small class="footnote">
- MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
- </small>
- </div>
- </div>
-</footer>
- </div>
- </div>
- </div>
-
-
- </div>
-
- <script src="../../../js/jquery-1.10.2.min.js"></script>
- <script src="../../../js/bootstrap-3.0.3.min.js"></script>
- <script src="../../../js/highlight.pack.js"></script>
- <script src="../../../js/base.js"></script>
- <script src="../../../js/custom.js"></script>
-
- </body>
-</html>
\ No newline at end of file
[5/6] incubator-mynewt-site git commit: added Release Notes link for
b2 release, added and updated all the newt commands,
and updated arduino zero instructions to clarify setting of a target's
features to zero and zero_pro
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/mkdocs/search_index.json b/mkdocs/search_index.json
index e72ba0b..c7648be 100644
--- a/mkdocs/search_index.json
+++ b/mkdocs/search_index.json
@@ -267,7 +267,7 @@
},
{
"location": "/os/tutorials/arduino_zero/",
- "text": "Running Mynewt on Arduino Zero\n\n\nThis tutorial describes how to run Mynewt OS on Arduino Zero. Follow these simple steps and your board will be blinking in no time!\n\n\nPrerequisites\n\n\nBefore tackling this tutorial, it's best to read about Mynewt in the \nIntroduction\n section of this documentation.\n\n\nEquipment\n\n\nYou will need the following equipment\n\n\n\n\nAn Arduino Zero board. NOTE: There are many flavors of Arduino. Ensure that \nyou have an Arduino Zero. See below for the verions of Arduino Zero that are\ncompatible with this tutorial\n\n\nA computer that can connect to the Arduino Zero over USB\n\n\nA USB cable (Type A to micro B) that can connect the computer to the Arduino\n\n\nThe Mynewt Release\n\n\n\n\nThis tutorial has been tested on the following two Arduino Zero boards - Zero and Zero-Pro.\n\n\n\n\n\n\nInstall Mynewt and Newt\n\n\n\n\nIf you have not already done so, install Newt as shown in the \nNewt install tutorial\n\n\nIf you
have not already done so, create a project as shown in the Quick Start guide on how to \nCreate Your First Project\n. Skip the testing and building the project steps in that tutorial since you will be defining a target for your Arduino board in this tutorial.\n\n\n\n\n\n\nFetch External Packages\n\n\nMynewt uses source code provided directly from the chip manufacturer for \nlow level operations. Sometimes this code is licensed only for the specific manufacturer of the chipset and cannot live in the Apache Mynewt repository. That happens to be the case for the Arduino Zero board which uses Atmel SAMD21. Runtime's github repository hosts such external third-party packages and the Newt tool can fetch them.\n\n\nTo fetch the package with MCU support for Atmel SAMD21 for Arduino Zero from the Runtime git repository, you need to add \nthe repository to the \nproject.yml\n file in your base project directory.\n\n\nHere is an example \nproject.yml\n file with the Arduino Zero repository\nad
ded. The sections with \nmynewt_arduino_zero\n that need to be added to \nyour project file are highlighted.\n\n\n$ more project.yml \nproject.name: \nmy_project\n\n\nproject.repositories:\n - apache-mynewt-core\n\n - mynewt_arduino_zero\n\n\nrepository.apache-mynewt-core:\n type: github\n vers: 0-latest\n user: apache\n repo: incubator-mynewt-core\n\n\nrepository.mynewt_arduino_zero:\n\n type: github\n\n vers: 0-latest\n\n user: runtimeinc\n\n repo: mynewt_arduino_zero\n\n$ \n\n\n\n\n\n\n\nOnce you've edited your \nproject.yml\n file, the next step is to install the \nproject dependencies, this can be done with the \nnewt install\n command \n(to see more output, provide the \n-v\n verbose option.): \n\n\n$ newt install \napache-mynewt-core\nmynewt_arduino_zero\n$\n\n\n\n\n\n\n\nCreate your bootloader target\n\n\nNext, you need to tell Newt what to build. For the Arduino Zero, we are going to \ngenerate both a bootloader, and an image target.\n\n\nTo g
enerate the bootloader target, you need to specify the following options:\n\n\n$ newt target create arduino_boot \nTarget targets/arduino_boot successfully created\n$ newt target set arduino_boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero \nTarget targets/arduino_boot successfully set target.bsp to @mynewt_arduino_zero/hw/bsp/arduino_zero\n$ newt target set arduino_boot app=@apache-mynewt-core/apps/boot \nTarget targets/arduino_boot successfully set target.app to @apache-mynewt-core/apps/boot\n$ newt target set arduino_boot build_profile=optimized\nTarget targets/arduino_boot successfully set target.build_profile to optimized\n$ newt target set arduino_boot features=arduino_zero_pro \nTarget targets/arduino_boot successfully set pkg.features to arduino_zero_pro\n\n\n\n\n\n\n\nThese commands do a few things: \n\n\n\n\nCreate a target named \narduino_boot\n, in order to build the Arduino Zero Bootloader.\n\n\nSet the application for the \narduino_boot\n target to the default Apache
Mynewt \n bootloader (\n@apache-mynewt-core/apps/boot\n)\n\n\nSet the board support package for the target to \n \n@mynewt_arduino_zero/hw/bsp/arduino_zero\n. This is a reference to the downloaded \n Arduino Zero support from Github.\n\n\nUse the \"optimized\" build profile for the \narduino_boot\n target. This\n instructs Newt to generate smaller and more efficient code for this target.\n This setting is necessary due to the bootloader's strict size constraints.\n\n\nTells the Board Support Package to enable support for the Arduino Zero Pro, and not \n the Arduino Zero. This is done through setting a build feature. If you are building \n for an Arduino Zero, and not a Zero Pro, this feature should be set to \narduino_zero\n.\n\n\n\n\n\n\nBuild your bootloader\n\n\nOnce you've configured the bootloader target, the next step is to build the bootloader for your Arduino. You can do this by using the \nnewt build\n command:\n\n\n$ newt build arduino_boot \nCompi
ling asprintf.c\nCompiling atoi.c\nCompiling atol.c\nCompiling atoll.c\nCompiling bsearch.c\nCompiling bzero.c\nCompiling calloc.c\nCompiling fgets.c\nCompiling inline.c\n\nsnip\n\nApp successfully built: myproject/bin/arduino_boot/apps/boot/boot.elf\n\n\n\n\n\nIf this command finishes successfully, you have successfully built the Arduino \nbootloader, and the next step is to build your application for the Arduino \nboard.\n\n\n\n\nBuild your blinky app\n\n\nTo create and download your application, you create another target, this one pointing to the application you want to download to the Arduino board. In this tutorial, we will use the default application that comes with your project, \napps/blinky\n:\n\n\n$ newt target create arduino_blinky \nTarget targets/arduino_blinky successfully created\n$ newt target set arduino_blinky app=apps/blinky \nTarget targets/arduino_blinky successfully set target.app to apps/blinky\n$ newt target set arduino_blinky bsp=@mynewt_arduino_zero/hw/bs
p/arduino_zero\nTarget targets/arduino_blinky successfully set target.bsp to @mynewt_arduino_zero/hw/bsp/arduino_zero\n$ newt target set arduino_blinky build_profile=debug \nTarget targets/arduino_blinky successfully set target.build_profile to debug\n$ newt target set arduino_blinky features=arduino_zero_pro \nTarget targets/arduino_blinky successfully set pkg.features to arduino_zero_pro\n$ \n\n\n\n\n\n\n\nYou can now build the target, with \nnewt build\n: \n\n\n$ newt build arduino_blinky \nCompiling main.c\nArchiving blinky.a\nCompiling cons_fmt.c\nCompiling cons_tty.c\nArchiving full.a\nCompiling case.c\nCompiling suite.c\nCompiling testutil.c\nArchiving testutil.a\n\nsnip\n\nApp successfully built: myproject/bin/arduino_blinky/apps/blinky/blinky.elf\n\n\n\n\n\nCongratulations! You have successfully built your application. Now it's \ntime to load both the bootloader and application onto the target.\n\n\n\n\nConnect the Target\n\n\nConnect your computer to the Arduino Zero (fro
m now on we'll call this the \ntarget) with the Micro-USB cable through the Programming Port as shown below. \nMynewt will download and debug the target through this port. You should see a \nlittle green LED come on. That means the board has power.\n\n\nNo external debugger is required. The Arduino Zero comes with an internal\ndebugger that can be accessed by Mynewt.\n\n\nA image below shows the Arduino Zero Programming Port.\n\n\n\n\n\n\n\n\nDownload the Bootloader\n\n\nExecute the command to download the bootloader. \n\n\n \n$\n \nnewt\n \nload\n \narduino_boot\n\n\n\n\n\n\nIf the newt tool finishes without error, that means the bootloader has been \nsuccessfully loaded onto the target.\n\n\n\n\nRun the Image\n\n\nNow that the bootloader is downloaded to the target, the next step is to load \nyour image onto the Arduino Zero. The easiest way to do this, is to use the \n\nnewt run\n command. \nnewt run\n will automatically rebuild your program\n(if necessary), create an image
, and load it onto the target device.\n\n\nHere, we will load our \narduino_blinky\n target onto the device, and we \nshould see it run:\n\n\n$ newt run arduino_blinky 0.0.0 \nDebugging myproject/bin/arduino_blinky/apps/blinky/blinky.elf\nOpen On-Chip Debugger 0.9.0 (2015-09-23-21:46)\nLicensed under GNU GPL v2\nFor bug reports, read\n http://openocd.org/doc/doxygen/bugs.html\nInfo : only one transport option; autoselect \nswd\n\nadapter speed: 500 kHz\nadapter_nsrst_delay: 100\ncortex_m reset_config sysresetreq\nInfo : CMSIS-DAP: SWD Supported\nInfo : CMSIS-DAP: JTAG Supported\nInfo : CMSIS-DAP: Interface Initialised (SWD)\nInfo : CMSIS-DAP: FW Version = 01.1F.0118\nInfo : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1\nInfo : CMSIS-DAP: Interface ready\nInfo : clock speed 500 kHz\nInfo : SWD IDCODE 0x0bc11477\nInfo : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints\nGNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs\nCopyright (C)
2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \nhttp://gnu.org/licenses/gpl.html\n\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \nshow copying\n\nand \nshow warranty\n for details.\nThis GDB was configured as \n--host=x86_64-apple-darwin10 --target=arm-none-eabi\n.\nType \nshow configuration\n for configuration details.\nFor bug reporting instructions, please see:\n\nhttp://www.gnu.org/software/gdb/bugs/\n.\nFind the GDB manual and other documentation resources online at:\n\nhttp://www.gnu.org/software/gdb/documentation/\n.\nFor help, type \nhelp\n.\nType \napropos word\n to search for commands related to \nword\n...\nReading symbols from myproject/bin/arduino_blinky/apps/blinky/blinky.elf...done.\ntarget state: halted\ntarget halted due to debug-request, current mode: Thread \nxPSR: 0x21000000 pc: 0x0000030e msp: 0x20008000\nInfo : accepting \ngdb\n connection on tc
p/3333\nInfo : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)\n0x0000030e in ?? ()\n(gdb) r\nThe \nremote\n target does not support \nrun\n. Try \nhelp target\n or \ncontinue\n.\n(gdb) c\nContinuing.\n\n\n\n\n\n\n\nNOTE:\n The 0.0.0 specified after the target name to \nnewt run\n is the version \nof the image to load. If you are not providing remote upgrade, and are just \ndeveloping locally, you can provide 0.0.0 for every image version.\n\n\nIf you want the image to run without the debugger connected, simply quit the \ndebugger and restart the board. The image you programmed will come and run on the Arduino on next boot! \n\n\n\n\nWatch the LED blink\n\n\nCongratulations! You have created a Mynewt operating system running on the \nArduino Zero. The LED right next to the power LED should be blinking. It is toggled by one task running on the Mynewt OS.",
+ "text": "Running Mynewt on Arduino Zero\n\n\nThis tutorial describes how to run Mynewt OS on Arduino Zero. Follow these simple steps and your board will be blinking in no time!\n\n\nPrerequisites\n\n\nBefore tackling this tutorial, it's best to read about Mynewt in the \nIntroduction\n section of this documentation.\n\n\nEquipment\n\n\nYou will need the following equipment\n\n\n\n\nAn Arduino Zero board. NOTE: There are many flavors of Arduino. Ensure that \nyou have an Arduino Zero. See below for the verions of Arduino Zero that are\ncompatible with this tutorial\n\n\nA computer that can connect to the Arduino Zero over USB\n\n\nA USB cable (Type A to micro B) that can connect the computer to the Arduino\n\n\nThe Mynewt Release\n\n\n\n\nThis tutorial has been tested on the following two Arduino Zero boards - Zero and Zero-Pro.\n\n\n\n\n\n\nInstall Mynewt and Newt\n\n\n\n\nIf you have not already done so, install Newt as shown in the \nNewt install tutorial\n\n\nIf you
have not already done so, create a project as shown in the Quick Start guide on how to \nCreate Your First Project\n. Skip the testing and building the project steps in that tutorial since you will be defining a target for your Arduino board in this tutorial.\n\n\n\n\n\n\nFetch External Packages\n\n\nMynewt uses source code provided directly from the chip manufacturer for \nlow level operations. Sometimes this code is licensed only for the specific manufacturer of the chipset and cannot live in the Apache Mynewt repository. That happens to be the case for the Arduino Zero board which uses Atmel SAMD21. Runtime's github repository hosts such external third-party packages and the Newt tool can fetch them.\n\n\nTo fetch the package with MCU support for Atmel SAMD21 for Arduino Zero from the Runtime git repository, you need to add \nthe repository to the \nproject.yml\n file in your base project directory.\n\n\nHere is an example \nproject.yml\n file with the Arduino Zero repository\nad
ded. The sections with \nmynewt_arduino_zero\n that need to be added to \nyour project file are highlighted.\n\n\n$ more project.yml \nproject.name: \nmy_project\n\n\nproject.repositories:\n - apache-mynewt-core\n\n - mynewt_arduino_zero\n\n\nrepository.apache-mynewt-core:\n type: github\n vers: 0-latest\n user: apache\n repo: incubator-mynewt-core\n\n\nrepository.mynewt_arduino_zero:\n\n type: github\n\n vers: 0-latest\n\n user: runtimeinc\n\n repo: mynewt_arduino_zero\n\n$ \n\n\n\n\n\n\n\nOnce you've edited your \nproject.yml\n file, the next step is to install the \nproject dependencies, this can be done with the \nnewt install\n command \n(to see more output, provide the \n-v\n verbose option.): \n\n\n$ newt install \napache-mynewt-core\nmynewt_arduino_zero\n$\n\n\n\n\n\n\n\nCreate your bootloader target\n\n\nNext, you need to tell Newt what to build. For the Arduino Zero, we are going to \ngenerate both a bootloader, and an image target.\n\n\nTo g
enerate the bootloader target, you need to specify the following options. The output of the commands (indicating success) have been suppressed for easier readability. \n\n\n$ newt target create arduino_boot \n$ newt target set arduino_boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero \n$ newt target set arduino_boot app=@apache-mynewt-core/apps/boot \n$ newt target set arduino_boot build_profile=optimized\n\n\n\n\n\n\n\nIf you have an Arduino Zero Pro, you have to set the following next:\n\n\n$ newt target set arduino_boot features=arduino_zero_pro \n\n\n\n\n\nIf you have an Arduino Zero, you have to set the following instead:\n\n\n$ newt target set arduino_boot features=arduino_zero \n\n\n\n\n\n\n\nThese commands do a few things: \n\n\n\n\nCreate a target named \narduino_boot\n, in order to build the Arduino Zero Bootloader.\n\n\nSet the application for the \narduino_boot\n target to the default Apache Mynewt \n bootloader (\n@apache-mynewt-core/apps/boot\n)\n\n\nSet the board s
upport package for the target to \n \n@mynewt_arduino_zero/hw/bsp/arduino_zero\n. This is a reference to the downloaded \n Arduino Zero support from Github.\n\n\nUse the \"optimized\" build profile for the \narduino_boot\n target. This\n instructs Newt to generate smaller and more efficient code for this target.\n This setting is necessary due to the bootloader's strict size constraints.\n\n\nTells the Board Support Package to enable support for the Arduino Zero Pro or the Arduino Zero. Set it to \narduino_zero\n or \narduino_zero_pro\n depending on the board you have.\n\n\n\n\n\n\nBuild your bootloader\n\n\nOnce you've configured the bootloader target, the next step is to build the bootloader for your Arduino. You can do this by using the \nnewt build\n command:\n\n\n$ newt build arduino_boot \nCompiling asprintf.c\nCompiling atoi.c\nCompiling atol.c\nCompiling atoll.c\nCompiling bsearch.c\nCompiling bzero.c\nCompiling calloc.c\nCompiling fgets.c\nCompiling inline.c\n
\nsnip\n\nApp successfully built: myproject/bin/arduino_boot/apps/boot/boot.elf\n\n\n\n\n\nIf this command finishes successfully, you have successfully built the Arduino \nbootloader, and the next step is to build your application for the Arduino \nboard.\n\n\n\n\nBuild your blinky app\n\n\nTo create and download your application, you create another target, this one pointing to the application you want to download to the Arduino board. In this tutorial, we will use the default application that comes with your project, \napps/blinky\n:\n\n\n$ newt target create arduino_blinky \nTarget targets/arduino_blinky successfully created\n$ newt target set arduino_blinky app=apps/blinky \nTarget targets/arduino_blinky successfully set target.app to apps/blinky\n$ newt target set arduino_blinky bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero\nTarget targets/arduino_blinky successfully set target.bsp to @mynewt_arduino_zero/hw/bsp/arduino_zero\n$ newt target set arduino_blinky build_profile=debug
\nTarget targets/arduino_blinky successfully set target.build_profile to debug\n$ newt target set arduino_blinky features=arduino_zero_pro \nTarget targets/arduino_blinky successfully set pkg.features to arduino_zero_pro\n$ \n\n\n\n\n\n\n\nYou can now build the target, with \nnewt build\n: \n\n\n$ newt build arduino_blinky \nCompiling main.c\nArchiving blinky.a\nCompiling cons_fmt.c\nCompiling cons_tty.c\nArchiving full.a\nCompiling case.c\nCompiling suite.c\nCompiling testutil.c\nArchiving testutil.a\n\nsnip\n\nApp successfully built: myproject/bin/arduino_blinky/apps/blinky/blinky.elf\n\n\n\n\n\nCongratulations! You have successfully built your application. Now it's \ntime to load both the bootloader and application onto the target.\n\n\n\n\nConnect the Target\n\n\nConnect your computer to the Arduino Zero (from now on we'll call this the \ntarget) with the Micro-USB cable through the Programming Port as shown below. \nMynewt will download and debug the target through this port.
You should see a \nlittle green LED come on. That means the board has power.\n\n\nNo external debugger is required. The Arduino Zero comes with an internal\ndebugger that can be accessed by Mynewt.\n\n\nA image below shows the Arduino Zero Programming Port.\n\n\n\n\n\n\n\n\nDownload the Bootloader\n\n\nExecute the command to download the bootloader. \n\n\n \n$\n \nnewt\n \nload\n \narduino_boot\n\n\n\n\n\n\nIf the newt tool finishes without error, that means the bootloader has been \nsuccessfully loaded onto the target.\n\n\n\n\nRun the Image\n\n\nNow that the bootloader is downloaded to the target, the next step is to load \nyour image onto the Arduino Zero. The easiest way to do this, is to use the \n\nnewt run\n command. \nnewt run\n will automatically rebuild your program\n(if necessary), create an image, and load it onto the target device.\n\n\nHere, we will load our \narduino_blinky\n target onto the device, and we \nshould see it run:\n\n\n$ newt run arduino_blinky 0.0
.0 \nDebugging myproject/bin/arduino_blinky/apps/blinky/blinky.elf\nOpen On-Chip Debugger 0.9.0 (2015-09-23-21:46)\nLicensed under GNU GPL v2\nFor bug reports, read\n http://openocd.org/doc/doxygen/bugs.html\nInfo : only one transport option; autoselect \nswd\n\nadapter speed: 500 kHz\nadapter_nsrst_delay: 100\ncortex_m reset_config sysresetreq\nInfo : CMSIS-DAP: SWD Supported\nInfo : CMSIS-DAP: JTAG Supported\nInfo : CMSIS-DAP: Interface Initialised (SWD)\nInfo : CMSIS-DAP: FW Version = 01.1F.0118\nInfo : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1\nInfo : CMSIS-DAP: Interface ready\nInfo : clock speed 500 kHz\nInfo : SWD IDCODE 0x0bc11477\nInfo : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints\nGNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \nhttp://gnu.org/licenses/gpl.html\n\nThis is free software: you are free to change and red
istribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \nshow copying\n\nand \nshow warranty\n for details.\nThis GDB was configured as \n--host=x86_64-apple-darwin10 --target=arm-none-eabi\n.\nType \nshow configuration\n for configuration details.\nFor bug reporting instructions, please see:\n\nhttp://www.gnu.org/software/gdb/bugs/\n.\nFind the GDB manual and other documentation resources online at:\n\nhttp://www.gnu.org/software/gdb/documentation/\n.\nFor help, type \nhelp\n.\nType \napropos word\n to search for commands related to \nword\n...\nReading symbols from myproject/bin/arduino_blinky/apps/blinky/blinky.elf...done.\ntarget state: halted\ntarget halted due to debug-request, current mode: Thread \nxPSR: 0x21000000 pc: 0x0000030e msp: 0x20008000\nInfo : accepting \ngdb\n connection on tcp/3333\nInfo : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)\n0x0000030e in ?? ()\n(gdb) r\nThe \nremote\n target does not support \nrun\n. Try \nhelp target\n or \ncontin
ue\n.\n(gdb) c\nContinuing.\n\n\n\n\n\n\n\nNOTE:\n The 0.0.0 specified after the target name to \nnewt run\n is the version \nof the image to load. If you are not providing remote upgrade, and are just \ndeveloping locally, you can provide 0.0.0 for every image version.\n\n\nIf you want the image to run without the debugger connected, simply quit the \ndebugger and restart the board. The image you programmed will come and run on the Arduino on next boot! \n\n\n\n\nWatch the LED blink\n\n\nCongratulations! You have created a Mynewt operating system running on the \nArduino Zero. The LED right next to the power LED should be blinking. It is toggled by one task running on the Mynewt OS.",
"title": "Blinky on Arduino Zero"
},
{
@@ -297,7 +297,7 @@
},
{
"location": "/os/tutorials/arduino_zero/#create-your-bootloader-target",
- "text": "Next, you need to tell Newt what to build. For the Arduino Zero, we are going to \ngenerate both a bootloader, and an image target. To generate the bootloader target, you need to specify the following options: $ newt target create arduino_boot \nTarget targets/arduino_boot successfully created\n$ newt target set arduino_boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero \nTarget targets/arduino_boot successfully set target.bsp to @mynewt_arduino_zero/hw/bsp/arduino_zero\n$ newt target set arduino_boot app=@apache-mynewt-core/apps/boot \nTarget targets/arduino_boot successfully set target.app to @apache-mynewt-core/apps/boot\n$ newt target set arduino_boot build_profile=optimized\nTarget targets/arduino_boot successfully set target.build_profile to optimized\n$ newt target set arduino_boot features=arduino_zero_pro \nTarget targets/arduino_boot successfully set pkg.features to arduino_zero_pro These commands do a few things: Create a target named arduino_
boot , in order to build the Arduino Zero Bootloader. Set the application for the arduino_boot target to the default Apache Mynewt \n bootloader ( @apache-mynewt-core/apps/boot ) Set the board support package for the target to \n @mynewt_arduino_zero/hw/bsp/arduino_zero . This is a reference to the downloaded \n Arduino Zero support from Github. Use the \"optimized\" build profile for the arduino_boot target. This\n instructs Newt to generate smaller and more efficient code for this target.\n This setting is necessary due to the bootloader's strict size constraints. Tells the Board Support Package to enable support for the Arduino Zero Pro, and not \n the Arduino Zero. This is done through setting a build feature. If you are building \n for an Arduino Zero, and not a Zero Pro, this feature should be set to arduino_zero .",
+ "text": "Next, you need to tell Newt what to build. For the Arduino Zero, we are going to \ngenerate both a bootloader, and an image target. To generate the bootloader target, you need to specify the following options. The output of the commands (indicating success) have been suppressed for easier readability. $ newt target create arduino_boot \n$ newt target set arduino_boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero \n$ newt target set arduino_boot app=@apache-mynewt-core/apps/boot \n$ newt target set arduino_boot build_profile=optimized If you have an Arduino Zero Pro, you have to set the following next: $ newt target set arduino_boot features=arduino_zero_pro If you have an Arduino Zero, you have to set the following instead: $ newt target set arduino_boot features=arduino_zero These commands do a few things: Create a target named arduino_boot , in order to build the Arduino Zero Bootloader. Set the application for the arduino_boot target to the
default Apache Mynewt \n bootloader ( @apache-mynewt-core/apps/boot ) Set the board support package for the target to \n @mynewt_arduino_zero/hw/bsp/arduino_zero . This is a reference to the downloaded \n Arduino Zero support from Github. Use the \"optimized\" build profile for the arduino_boot target. This\n instructs Newt to generate smaller and more efficient code for this target.\n This setting is necessary due to the bootloader's strict size constraints. Tells the Board Support Package to enable support for the Arduino Zero Pro or the Arduino Zero. Set it to arduino_zero or arduino_zero_pro depending on the board you have.",
"title": "Create your bootloader target"
},
{
@@ -6211,58 +6211,148 @@
"title": "Command Structure"
},
{
- "location": "/newt/command_list/newt_app/",
- "text": "newt app \n\n\nUsage:\n\n\n newt app [command][flags] input1 input2...\n\n\n\n\n\nAvailable commands:\n\n\n generate-pkg-list Generate a pkg-list file from the pkgs in the current directory\n add-pkg-list Add a remote pkg-list, and put it in the current app\n list-pkg-listes List the pkg-listes installed in the current app\n show-pkg-list Show an individual pkg-list in the current app\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for app\n\n\n\n\n\nGlobal Flags:\n\n\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\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ngenerate-pkg-list\n\n\nTakes a snapshot of the pkgs in the current local directory and combines
them into a pkg-list by the name of \ninput1\n and with the url of \ninput2\n and generates a standard output of the pkg-list details that can be redirected to a \n.yml\n pkg-list file. Typically the pkg-list file name is chosen to match the pkg-list name which means the standard output should be directed to a pkg-list file named \ninput1.yml\n\n\n\n\n\n\nadd-pkg-list\n\n\nDownloads the pkg-list of the name \ninput1\n from the master branch of the github repository \ninput2\n into the current app. A file named \ninput1.yml\n file is added in the \n.app/pkg-lists\n subdirectory inside the current local app. The \n.app/\n directory structure is created automatically if it does not exist.\n\n\n\n\n\n\nlist-pkg-lists\n\n\nLists all the pkg-lists present in the current app, including pkg-lists that may have been added from other apps on github. The output shows all the remote pkg-list names and the total pkgshells in each of the pkg-lists.\n\n\n\n\n\n\nshow-pkg-list\n\n\nShows informati
on about the pkg-list that has the name given in the \ninput1\n argument. Output includes the pkg-list name, url, and all the constituent pkgs with their version numbers.\n\n\n\n\n\n\n\n\nCommand-specific flags\n\n\n\n\n\n\n\n\nSub-command\n\n\nAvailable flags\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd-pkg-list\n\n\n-b, --branch=\"\n\"\n\n\nFetches the pkg-list file with name \ninput1\n from the specified branch at \ninput1\n url of the github repository. All subsequent pkg installations will be done from that branch.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ngenerate-pkg-list\n\n\nnewt app generate-pkg-list mypkg-list https://github.com/apache/incubator-mynewt-larva \n mypkg-list.yml\n\n\nTakes a snapshot of the pkgs in the current app to form a pkg-list named mypkg-list with the url https://github.com/apache/incubator-mynewt-larva. The output is written to a file named \nmypkg-list.yml\n and describes the properties and
contents of the pkg-list (name, url, pkgs).\n\n\n\n\n\n\nadd-pkg-list\n\n\nnewt app add-pkg-list larva https://github.com/apache/incubator-mynewt-larva\n\n\nAdds the remote pkg-list named larva at https://github.com/apache/incubator-mynewt-larva to the local app.\n\n\n\n\n\n\nlist-pkg-lists\n\n\nnewt app list-pkg-lists\n\n\nShows all the remote pkg-list description files that been downloaded into the current app. Output includes each list with name and summary of included packages e.g. \nRemote package list larva@master (num_pkgs: 44)\n\n\n\n\n\n\nshow-pkg-list\n\n\nnewt app show-pkg-list larva\n\n\nOutputs the details of the pkg-list named larva such as the github url where the remote sits, the constituent pkgs and their versions",
- "title": "newt app"
+ "location": "/newt/command_list/newt_build/",
+ "text": "newt build \n\n\nCompiles, links, and builds one or more apps. \n\n\nUsage:\n\n\n newt build [flags] input1\n\n\n\n\n\nwhere \ninput1\n is the name of the target to build.\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nbuild\n\n\nnewt build \n \ninput1\n\n\nBuilds the source code into an image that can be loaded on the hardware (\nbsp\n) associated with the target named \ninput1\n to run the application enabled by the \napp\n setting associated with that target. It creates 'bin/' directory and 'bin/\n/apps/\n' subdirecto
ry inside the base directory for the app, compiles and generates binaries and executables, and places them in that subdirectory.\n\n\n\n\n\n\n\n\nnewt build \n my_blinky_sim\n\n\nFor example, if \napp\n was set to \napps/blinky\n for the target \"my_blinky_sim\", you will find the generated .elf, .a, and .lst files in bin/my_blinky_sim/apps/blinky directory created under the base directory for the app created using \nnewt new\n at the start of the project.\n\n\n\n\n\n\nbuild\n\n\nnewt build my_blinky_sim myble\n\n\nbuilds the apps defined for both the targets \"my_blinky_sim\" and \"myble\".",
+ "title": "newt build"
},
{
- "location": "/newt/command_list/newt_app/#newt-app",
- "text": "",
- "title": "newt app "
+ "location": "/newt/command_list/newt_build/#newt-build",
+ "text": "Compiles, links, and builds one or more apps.",
+ "title": "newt build "
},
{
- "location": "/newt/command_list/newt_app/#usage",
- "text": "newt app [command][flags] input1 input2...",
+ "location": "/newt/command_list/newt_build/#usage",
+ "text": "newt build [flags] input1 where input1 is the name of the target to build.",
"title": "Usage:"
},
{
- "location": "/newt/command_list/newt_app/#available-commands",
- "text": "generate-pkg-list Generate a pkg-list file from the pkgs in the current directory\n add-pkg-list Add a remote pkg-list, and put it in the current app\n list-pkg-listes List the pkg-listes installed in the current app\n show-pkg-list Show an individual pkg-list in the current app",
- "title": "Available commands:"
+ "location": "/newt/command_list/newt_build/#flags",
+ "text": "-h, --help=false: help for target",
+ "title": "Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_build/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\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.",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_build/#examples",
+ "text": "Sub-command Usage Explanation build newt build input1 Builds the source code into an image that can be loaded on the hardware ( bsp ) associated with the target named input1 to run the application enabled by the app setting associated with that target. It creates 'bin/' directory and 'bin/ /apps/ ' subdirectory inside the base directory for the app, compiles and generates binaries and executables, and places them in that subdirectory. newt build my_blinky_sim For example, if app was set to apps/blinky for the target \"my_blinky_sim\", you will find the generated .elf, .a, and .lst files in bin/my_blinky_sim/apps/blinky directory created under the base directory for the app created using newt new at the start of the project. build newt build my_blinky_sim myble builds the apps defined for both the targets \"my_blinky_sim\" and \"myble\".",
+ "title": "Examples"
+ },
+ {
+ "location": "/newt/command_list/newt_clean/",
+ "text": "newt clean \n\n\nDeletes application build artifacts for a specified target\n\n\nUsage:\n\n\n newt clean [flags] input1\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nclean\n\n\nDeletes all the build artifacts generated for target specified by \ninput1\n. It does not delete the target definition.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nclean\n\n\nnewt clean myble2\n\n\nRemoves all the files generated while building the target \nmyble2\n and placed in the \nbin
/myble2\n directory created during the build process.",
+ "title": "newt clean"
+ },
+ {
+ "location": "/newt/command_list/newt_clean/#newt-clean",
+ "text": "Deletes application build artifacts for a specified target",
+ "title": "newt clean "
+ },
+ {
+ "location": "/newt/command_list/newt_clean/#usage",
+ "text": "newt clean [flags] input1",
+ "title": "Usage:"
},
{
- "location": "/newt/command_list/newt_app/#flags",
- "text": "-h, --help=false: help for app",
+ "location": "/newt/command_list/newt_clean/#flags",
+ "text": "-h, --help=false: help for target",
"title": "Flags:"
},
{
- "location": "/newt/command_list/newt_app/#global-flags",
- "text": "-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.",
+ "location": "/newt/command_list/newt_clean/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\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.",
"title": "Global Flags:"
},
{
- "location": "/newt/command_list/newt_app/#description",
- "text": "Sub-command Explanation generate-pkg-list Takes a snapshot of the pkgs in the current local directory and combines them into a pkg-list by the name of input1 and with the url of input2 and generates a standard output of the pkg-list details that can be redirected to a .yml pkg-list file. Typically the pkg-list file name is chosen to match the pkg-list name which means the standard output should be directed to a pkg-list file named input1.yml add-pkg-list Downloads the pkg-list of the name input1 from the master branch of the github repository input2 into the current app. A file named input1.yml file is added in the .app/pkg-lists subdirectory inside the current local app. The .app/ directory structure is created automatically if it does not exist. list-pkg-lists Lists all the pkg-lists present in the current app, including pkg-lists that may have been added from other apps on github. The output shows all the remote pkg-list names
and the total pkgshells in each of the pkg-lists. show-pkg-list Shows information about the pkg-list that has the name given in the input1 argument. Output includes the pkg-list name, url, and all the constituent pkgs with their version numbers.",
+ "location": "/newt/command_list/newt_clean/#description",
+ "text": "Sub-command Explanation clean Deletes all the build artifacts generated for target specified by input1 . It does not delete the target definition.",
"title": "Description"
},
{
- "location": "/newt/command_list/newt_app/#command-specific-flags",
- "text": "Sub-command Available flags Explanation add-pkg-list -b, --branch=\" \" Fetches the pkg-list file with name input1 from the specified branch at input1 url of the github repository. All subsequent pkg installations will be done from that branch.",
- "title": "Command-specific flags"
+ "location": "/newt/command_list/newt_clean/#examples",
+ "text": "Sub-command Usage Explanation clean newt clean myble2 Removes all the files generated while building the target myble2 and placed in the bin/myble2 directory created during the build process.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newt/command_list/newt_create_image/",
+ "text": "newt create-image \n\n\nCreates a signed image by adding image header to created binary file for specified target. Version number in the header is set to be \n \n\n\nUsage:\n\n\n newt create-image \ntarget-name\n \nversion\n [flags]\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ncreate-image\n\n\nSigns and adds image header to the created binary file for target named \ntarget-name\n and given the version specified as \nversion\n. The application image generated is \napp-name\n.img\n where the app-name is the same as the ap
p specified in the target definition. The generated application image can be found in \n/bin/\ntarget-name\n/apps/\napp-name\n/\n. \n \n A build manifest file \nmanifest.json\n is also generated in the same directory. This build manifest contains information such as build time, version, image name, a hash to identify the image, packages actually used to create the build, and the target for which the image is built.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ncreate-image\n\n\nnewt create-image myble2 1.0.1.0\n\n\nCreates a signed image for target \nmyble2\n and assigns it the version \n1.0.1.0\n. \n \n If the target is as follows: \n targets/myble2 \n app=@apache-mynewt-core/apps/bletiny \n bsp=@apache-mynewt-core/hw/bsp/nrf52pdk \n build_profile=optimized \n cflags=-DSTATS_NAME_ENABLE \n \n then, the created image is \nbin/myble2/apps/bletiny/bletiny.img\n and the manifest is \nbin/myble2/apps/bletiny/manifest.json",
+ "title": "newt create-image"
},
{
- "location": "/newt/command_list/newt_app/#examples",
- "text": "Sub-command Usage Explanation generate-pkg-list newt app generate-pkg-list mypkg-list https://github.com/apache/incubator-mynewt-larva mypkg-list.yml Takes a snapshot of the pkgs in the current app to form a pkg-list named mypkg-list with the url https://github.com/apache/incubator-mynewt-larva. The output is written to a file named mypkg-list.yml and describes the properties and contents of the pkg-list (name, url, pkgs). add-pkg-list newt app add-pkg-list larva https://github.com/apache/incubator-mynewt-larva Adds the remote pkg-list named larva at https://github.com/apache/incubator-mynewt-larva to the local app. list-pkg-lists newt app list-pkg-lists Shows all the remote pkg-list description files that been downloaded into the current app. Output includes each list with name and summary of included packages e.g. Remote package list larva@master (num_pkgs: 44) show-pkg-list newt app show-pkg-list larva Outputs the details of the p
kg-list named larva such as the github url where the remote sits, the constituent pkgs and their versions",
+ "location": "/newt/command_list/newt_create_image/#newt-create-image",
+ "text": "Creates a signed image by adding image header to created binary file for specified target. Version number in the header is set to be",
+ "title": "newt create-image "
+ },
+ {
+ "location": "/newt/command_list/newt_create_image/#usage",
+ "text": "newt create-image target-name version [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newt/command_list/newt_create_image/#flags",
+ "text": "-h, --help=false: help for target",
+ "title": "Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_create_image/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\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.",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_create_image/#description",
+ "text": "Sub-command Explanation create-image Signs and adds image header to the created binary file for target named target-name and given the version specified as version . The application image generated is app-name .img where the app-name is the same as the app specified in the target definition. The generated application image can be found in /bin/ target-name /apps/ app-name / . A build manifest file manifest.json is also generated in the same directory. This build manifest contains information such as build time, version, image name, a hash to identify the image, packages actually used to create the build, and the target for which the image is built.",
+ "title": "Description"
+ },
+ {
+ "location": "/newt/command_list/newt_create_image/#examples",
+ "text": "Sub-command Usage Explanation create-image newt create-image myble2 1.0.1.0 Creates a signed image for target myble2 and assigns it the version 1.0.1.0 . If the target is as follows: targets/myble2 app=@apache-mynewt-core/apps/bletiny bsp=@apache-mynewt-core/hw/bsp/nrf52pdk build_profile=optimized cflags=-DSTATS_NAME_ENABLE then, the created image is bin/myble2/apps/bletiny/bletiny.img and the manifest is bin/myble2/apps/bletiny/manifest.json",
+ "title": "Examples"
+ },
+ {
+ "location": "/newt/command_list/newt_debug/",
+ "text": "newt debug \n\n\nOpens debugger session for specified target. \n\n\nUsage:\n\n\n newt debug \ntarget-name\n [flag]\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ndebug\n\n\nOpens the appropriate debugging session for the image built for the named target.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ndebug\n\n\nnewt debug myble2\n\n\nOpens J-Link connection and starts a GNU gdb session to debug bin/myble2/apps/bletiny/bletiny.elf when the target is as follows: \n \n
targets/myble2 \n app=@apache-mynewt-core/apps/bletiny \n bsp=@apache-mynewt-core/hw/bsp/nrf52pdk \n build_profile=optimized \n cflags=-DSTATS_NAME_ENABLE",
+ "title": "newt debug"
+ },
+ {
+ "location": "/newt/command_list/newt_debug/#newt-debug",
+ "text": "Opens debugger session for specified target.",
+ "title": "newt debug "
+ },
+ {
+ "location": "/newt/command_list/newt_debug/#usage",
+ "text": "newt debug target-name [flag]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newt/command_list/newt_debug/#flags",
+ "text": "-h, --help=false: help for target",
+ "title": "Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_debug/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\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.",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_debug/#description",
+ "text": "Sub-command Explanation debug Opens the appropriate debugging session for the image built for the named target.",
+ "title": "Description"
+ },
+ {
+ "location": "/newt/command_list/newt_debug/#examples",
+ "text": "Sub-command Usage Explanation debug newt debug myble2 Opens J-Link connection and starts a GNU gdb session to debug bin/myble2/apps/bletiny/bletiny.elf when the target is as follows: targets/myble2 app=@apache-mynewt-core/apps/bletiny bsp=@apache-mynewt-core/hw/bsp/nrf52pdk build_profile=optimized cflags=-DSTATS_NAME_ENABLE",
"title": "Examples"
},
{
"location": "/newt/command_list/newt_help/",
- "text": "newt help \n\n\nUsage:\n\n\n newt help [input1]\n\n\n\n\n\nFlags:\n\n\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\nt output anything.\n-v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nhelp\n\n\nnewt help target\n\n\nDisplays the help text for the newt command 'target'\n\n\n\n\n\n\nhelp\n\n\nnewt help\n\n\nDisplays the help text for newt tool",
+ "text": "newt help \n\n\nDisplays the help text for the newt command line tool:\n\n\nNewt allows you to create your own embedded application based on the Mynewt \noperating system. Newt provides both build and package management in a single \ntool, which allows you to compose an embedded application, and set of \nprojects, and then build the necessary artifacts from those projects. For more \ninformation on the Mynewt operating system, please visit \nhttps://mynewt.apache.org/. \n\n\n\n\n\nUsage:\n\n\n newt help [input1]\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for newt\n -o, --outfile string Filename to tee output to\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\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nAvailable Commands:\n\n\n version Display the Newt version number.\n
install Install project dependencies\n upgrade Upgrade project dependencies\n new Create a new project\n info Show project info\n target Command for manipulating targets\n build Builds one or more targets.\n clean Deletes build artifacts for one or more targets.\n test Executes unit tests for one or more packages\n load Load built target to board\n debug Open debugger session to target\n size Size of target components\n create-image Add image header to target binary\n run build/create-image/download/debug \ntarget\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nhelp\n\n\nnewt help target\n\n\nDisplays the help text for the newt command 'target'\n\n\n\n\n\n\nhelp\n\n\nnewt help\n\n\nDisplays the help text for newt tool",
"title": "newt help"
},
{
"location": "/newt/command_list/newt_help/#newt-help",
- "text": "",
+ "text": "Displays the help text for the newt command line tool: Newt allows you to create your own embedded application based on the Mynewt \noperating system. Newt provides both build and package management in a single \ntool, which allows you to compose an embedded application, and set of \nprojects, and then build the necessary artifacts from those projects. For more \ninformation on the Mynewt operating system, please visit \nhttps://mynewt.apache.org/.",
"title": "newt help "
},
{
@@ -6272,87 +6362,207 @@
},
{
"location": "/newt/command_list/newt_help/#flags",
- "text": "-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.",
+ "text": "-h, --help=false: help for newt\n -o, --outfile string Filename to tee output to\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.",
"title": "Flags:"
},
{
+ "location": "/newt/command_list/newt_help/#available-commands",
+ "text": "version Display the Newt version number.\n install Install project dependencies\n upgrade Upgrade project dependencies\n new Create a new project\n info Show project info\n target Command for manipulating targets\n build Builds one or more targets.\n clean Deletes build artifacts for one or more targets.\n test Executes unit tests for one or more packages\n load Load built target to board\n debug Open debugger session to target\n size Size of target components\n create-image Add image header to target binary\n run build/create-image/download/debug target",
+ "title": "Available Commands:"
+ },
+ {
"location": "/newt/command_list/newt_help/#examples",
"text": "Sub-command Usage Explanation help newt help target Displays the help text for the newt command 'target' help newt help Displays the help text for newt tool",
"title": "Examples"
},
{
+ "location": "/newt/command_list/newt_info/",
+ "text": "newt info \n\n\nShows information about the current project.\n\n\nUsage:\n\n\n newt info [flags]\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ninfo\n\n\nDisplays the repositories in the current project (the local as well as all the external repositories fetched). Also displays the packages in the local repository.",
+ "title": "newt info"
+ },
+ {
+ "location": "/newt/command_list/newt_info/#newt-info",
+ "text": "Shows information about the current project.",
+ "title": "newt info "
+ },
+ {
+ "location": "/newt/command_list/newt_info/#usage",
+ "text": "newt info [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newt/command_list/newt_info/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee output to\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.",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_info/#description",
+ "text": "Sub-command Explanation info Displays the repositories in the current project (the local as well as all the external repositories fetched). Also displays the packages in the local repository.",
+ "title": "Description"
+ },
+ {
+ "location": "/newt/command_list/newt_install/",
+ "text": "newt install \n\n\nInstall project dependencies. \n\n\nUsage:\n\n\n newt install [flags]\n\n\n\n\n\nFlags:\n\n\n -f, --force Force install of the repositories in project, regardless of what exists in repos directory\n\n\n\n\n\nGlobal Flags:\n\n\n -h, --help=false: help for newt\n -o, --outfile string Filename to tee output to\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\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ninstall\n\n\nDownloads description of all the repositories specified in the project.yml file of the current project directory. Installs all the correct versions of all the packages dictated by the project dependencies. \n \n Always run the command from within the project directory (i.e.
remember to \ncd\n into the app directory after creating a new app using \nnewt new\n) before running \nnewt install\n.",
+ "title": "newt install"
+ },
+ {
+ "location": "/newt/command_list/newt_install/#newt-install",
+ "text": "Install project dependencies.",
+ "title": "newt install "
+ },
+ {
+ "location": "/newt/command_list/newt_install/#usage",
+ "text": "newt install [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newt/command_list/newt_install/#flags",
+ "text": "-f, --force Force install of the repositories in project, regardless of what exists in repos directory",
+ "title": "Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_install/#global-flags",
+ "text": "-h, --help=false: help for newt\n -o, --outfile string Filename to tee output to\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.",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_install/#description",
+ "text": "Sub-command Explanation install Downloads description of all the repositories specified in the project.yml file of the current project directory. Installs all the correct versions of all the packages dictated by the project dependencies. Always run the command from within the project directory (i.e. remember to cd into the app directory after creating a new app using newt new ) before running newt install .",
+ "title": "Description"
+ },
+ {
+ "location": "/newt/command_list/newt_load/",
+ "text": "newt load \n\n\nLoad app image to specified target. \n\n\nUsage:\n\n\n newt load \ntarget-name\n [flags]\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nload\n\n\nUses download scripts to automatically load, onto the connected board, the image built for the app defined in the target specified by \n. \n \n If the wrong board is connected, or the target definition is wrong (i.e. the wrong values are given for bsp or app), the command will fail with error messages such as \nCan not connect to J-Link via USB\n or \nUnspecified erro
r -1\n.",
+ "title": "newt load"
+ },
+ {
+ "location": "/newt/command_list/newt_load/#newt-load",
+ "text": "Load app image to specified target.",
+ "title": "newt load "
+ },
+ {
+ "location": "/newt/command_list/newt_load/#usage",
+ "text": "newt load target-name [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newt/command_list/newt_load/#flags",
+ "text": "-h, --help=false: help for target",
+ "title": "Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_load/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee output to\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.",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_load/#description",
+ "text": "Sub-command Explanation load Uses download scripts to automatically load, onto the connected board, the image built for the app defined in the target specified by . If the wrong board is connected, or the target definition is wrong (i.e. the wrong values are given for bsp or app), the command will fail with error messages such as Can not connect to J-Link via USB or Unspecified error -1 .",
+ "title": "Description"
+ },
+ {
"location": "/newt/command_list/newt_new/",
- "text": "newt new \n\n\nCreate a new application, specified by \n, from a given skeleton. If the optional \n parameter is specified, then download the skeleton of the application from \nthat URL instead of using the default, and create a new app directory by the name of \n. Currently, the default skeleton is the \ntadpole repository\n in Apache Mynewt. \n\n\nUsage:\n\n\n newt new [flags] \napp-name\n [, \napp-url\n]\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for app\n\n\n\n\n\nGlobal Flags:\n\n\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\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nnewt new\n\n\nnewt new test_project\n\n\nCreates a new app named \"test_project \" usin
g the default skeleton\n\n\n\n\n\n\n\n\nnewt new myapp \n\n\nCreates a new app named \"myapp\" using the skeleton at the \n specified",
+ "text": "newt new \n\n\nCreate a new application, specified by \n, from a given skeleton. Currently, the default skeleton is the \nblinky repository\n in Apache Mynewt (or \nhttps://github.com/apache/incubator-mynewt-blinky\n on its github mirror.)\n\n\nUsage:\n\n\n newt new [flags] \napp-name\n\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for new\n\n\n\n\n\nGlobal Flags:\n\n\n -h, --help=false: help for newt\n -o, --outfile string Filename to tee output to\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\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nnewt new\n\n\nnewt new test_project\n\n\nCreates a new app named \"test_project \" using the default skeleton from the \napache/incubator-mynewt-blinky\n r
epo.",
"title": "newt new"
},
{
"location": "/newt/command_list/newt_new/#newt-new",
- "text": "Create a new application, specified by , from a given skeleton. If the optional parameter is specified, then download the skeleton of the application from \nthat URL instead of using the default, and create a new app directory by the name of . Currently, the default skeleton is the tadpole repository in Apache Mynewt.",
+ "text": "Create a new application, specified by , from a given skeleton. Currently, the default skeleton is the blinky repository in Apache Mynewt (or https://github.com/apache/incubator-mynewt-blinky on its github mirror.)",
"title": "newt new "
},
{
"location": "/newt/command_list/newt_new/#usage",
- "text": "newt new [flags] app-name [, app-url ]",
+ "text": "newt new [flags] app-name",
"title": "Usage:"
},
{
"location": "/newt/command_list/newt_new/#flags",
- "text": "-h, --help=false: help for app",
+ "text": "-h, --help=false: help for new",
"title": "Flags:"
},
{
"location": "/newt/command_list/newt_new/#global-flags",
- "text": "-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.",
+ "text": "-h, --help=false: help for newt\n -o, --outfile string Filename to tee output to\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.",
"title": "Global Flags:"
},
{
"location": "/newt/command_list/newt_new/#examples",
- "text": "Sub-command Usage Explanation newt new newt new test_project Creates a new app named \"test_project \" using the default skeleton newt new myapp Creates a new app named \"myapp\" using the skeleton at the specified",
+ "text": "Sub-command Usage Explanation newt new newt new test_project Creates a new app named \"test_project \" using the default skeleton from the apache/incubator-mynewt-blinky repo.",
"title": "Examples"
},
{
- "location": "/newt/command_list/newt_pkg/",
- "text": "newt pkg \n\n\nProvides sub-commands to search, display and install packages in your current application or workspace.\n\n\nUsage:\n\n\n newt pkg [command][flag] input1 input2\n\n\n\n\n\nAvailable Commands:\n\n\n list List pkgs in the current app\n checkdeps Check pkg dependencies\n hunt Search for pkg from pkg-lists\n show Show the contents of a pkg.\n install Install a pkg\n remove Remove a pkg\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for pkg\n\n#### Global Flags:\n\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\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nlist\n\n\nList all the pkgs in the current app. The output shows the name, version, path, and any
additional attributes of each pkg in the app such as dependencies, capabilities, and linker scripts. The newt command gets the attributes of each pkg from the corresponsing pkg.yml description file.\n\n\n\n\n\n\ncheckdeps\n\n\nResolve all dependencies in the local app. This command goes through all pkgs currently installed, checks their dependencies, and prints any unresolved dependencies between pkgs.\n\n\n\n\n\n\nsearch\n\n\nSearches for a pkg, specified by \ninput1\n. The local app, along with all remote apps (pkg-lists) are searched. All matched pkgs are shown along with the pkg-list informaton. Installed pkgs are called out as such. The command can be invoked from anywhere in the app.\n\n\n\n\n\n\nshow\n\n\nShow the contents of the pkg named \ninput2\n found in the pkg-list named \ninput1\n. The pkg-list name is optional; if only the pkg name is given as the argument it is resolved using all the pkg-lists installed in the current app. If the pkg is present in multiple pkg-lists
it will list all of them along with the pkg-list information for each.\n\n\n\n\n\n\ninstall\n\n\nInstall the pkg specified by \ninput2\n from the pkg-list named \ninput1\n. The command downloads the pkg from the github repository using the URL in the pkg-list description file (typically downloaded as 'input1@\n.yml' in .app/pkg-lists). It also downloads all the dependencies (constituent pkgs) as decribed in the pkg's description file ('pkg.yml') and installs all of them. The pkg-list name is optional. If only the pkg name is given as the argument, the command looks for the pkg name in all the pkg-lists in the local app and installs accordingly. A pkg is installed by this command only if it has not already been installed.\n\n\n\n\n\n\nremove\n\n\nRemove a pkg named \ninput2\n from pkg-list \ninput1\n, if pkg-list is specified. Otherwise only one input required - that of the name of the pkg to be removed from the local app.\n\n\n\n\n\n\n\n\nCommand-specific flags\n\n\n\n\n\n\n\n\nSub
-command\n\n\nAvailable flags\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ninstall\n\n\n-b, --branch=\"\n\"\n\n\nInstalls the pkgs from the branch name or tag of the pkg-list specified\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nlist\n\n\nnewt pkg list\n\n\nCList all of the pkgs in the current app and the details of the pkgs.\n\n\n\n\n\n\ncheckdeps\n\n\nnewt pkg checkdeps\n\n\nChecks all the dependencies between pkgs in the app. Lists any unresolved dependencies.\n\n\n\n\n\n\nhunt\n\n\nnewt pkg hunt blinky\n\n\nHunts for the pkg named 'blinky'. The command can be invoked from anywhere in the app. Results show if the pkg is installed and which pkg-list, if any, has the pkg.\n\n\n\n\n\n\nshow\n\n\nnewt pkg show larva libs/os\n\n\nShow the contents of the pkg named 'libs/os' in the pkg-list named larva. The contents are essentially derived from the pkg's 'pkg.yml' file.\n\n\n\n\n\n\ninstall\n\n\nnewt pkg install hw/bsp/stm32f3discove
ry\n\n\nDownloads and installs the pkg named \"stm32f3discovery\" (specified with its full path name inside the remote app) along with all its dependencies from the remote app on github. Since no pkg-list is specified, the URL for the remote app in the pkg-list description file found in the local app (in .app/pkg-lists for the project) is used.\n\n\n\n\n\n\nremove\n\n\nnewt pkg remove larva blinky\n\n\nRemoves the pkg named blinky only from the pkg-list named larva\n\n\n\n\n\n\nremove\n\n\nnewt pkg remove blinky\n\n\nRemoves the pkg named blinky from the local app",
- "title": "newt pkg"
+ "location": "/newt/command_list/newt_run/",
+ "text": "newt run \n\n\nA single command to do four steps - build a target, create-image, load image on a board, and start a debug session with the image on board.\n\n\nNote\n: If version number is omitted, create-image step is skipped\n\n\nUsage:\n\n\n newt run \ntarget-name\n [\nversion\n][flags] \n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nrun\n\n\nSame as running \nbuild \ntarget\n, \ncreate-image \ntarget\n \nversion\n, \nload \ntarget\n, and \ndebug \ntarget\n.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nU
sage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nrun\n\n\nnewt run blink_rigado\n\n\nFirst compiles and builds executable for running the app defined in the target \nblink_rigado\n on the board defined in the same target, then loads image onto the board, and finally opens an active GNU gdb debugging session to run the image.\n\n\n\n\n\n\nrun\n\n\nnewt run ble_rigado 0.1.0.0\n\n\nFirst compiles and builds executable for running the app defined in the target \nble_rigado\n on the board defined in the same target, then signs and creates image with version number 0.1.0.0, loads the image onto the board, and finally opens an active GNU gdb debugging session to run the image. \n \n Note that if there is no bootloader available for a particular board/kit, a signed image creation step is not necessary.",
+ "title": "newt run"
},
{
- "location": "/newt/command_list/newt_pkg/#newt-pkg",
- "text": "Provides sub-commands to search, display and install packages in your current application or workspace.",
- "title": "newt pkg "
+ "location": "/newt/command_list/newt_run/#newt-run",
+ "text": "A single command to do four steps - build a target, create-image, load image on a board, and start a debug session with the image on board. Note : If version number is omitted, create-image step is skipped",
+ "title": "newt run "
},
{
- "location": "/newt/command_list/newt_pkg/#usage",
- "text": "newt pkg [command][flag] input1 input2",
+ "location": "/newt/command_list/newt_run/#usage",
+ "text": "newt run target-name [ version ][flags]",
"title": "Usage:"
},
{
- "location": "/newt/command_list/newt_pkg/#available-commands",
- "text": "list List pkgs in the current app\n checkdeps Check pkg dependencies\n hunt Search for pkg from pkg-lists\n show Show the contents of a pkg.\n install Install a pkg\n remove Remove a pkg",
- "title": "Available Commands:"
+ "location": "/newt/command_list/newt_run/#flags",
+ "text": "-h, --help=false: help for target",
+ "title": "Flags:"
},
{
- "location": "/newt/command_list/newt_pkg/#flags",
- "text": "-h, --help=false: help for pkg\n\n#### Global Flags:\n\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.",
- "title": "Flags:"
+ "location": "/newt/command_list/newt_run/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\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.",
+ "title": "Global Flags:"
},
{
- "location": "/newt/command_list/newt_pkg/#description",
- "text": "Sub-command Explanation list List all the pkgs in the current app. The output shows the name, version, path, and any additional attributes of each pkg in the app such as dependencies, capabilities, and linker scripts. The newt command gets the attributes of each pkg from the corresponsing pkg.yml description file. checkdeps Resolve all dependencies in the local app. This command goes through all pkgs currently installed, checks their dependencies, and prints any unresolved dependencies between pkgs. search Searches for a pkg, specified by input1 . The local app, along with all remote apps (pkg-lists) are searched. All matched pkgs are shown along with the pkg-list informaton. Installed pkgs are called out as such. The command can be invoked from anywhere in the app. show Show the contents of the pkg named input2 found in the pkg-list named input1 . The pkg-list name is optional; if only the pkg name is given as the argument it is resolved
using all the pkg-lists installed in the current app. If the pkg is present in multiple pkg-lists it will list all of them along with the pkg-list information for each. install Install the pkg specified by input2 from the pkg-list named input1 . The command downloads the pkg from the github repository using the URL in the pkg-list description file (typically downloaded as 'input1@ .yml' in .app/pkg-lists). It also downloads all the dependencies (constituent pkgs) as decribed in the pkg's description file ('pkg.yml') and installs all of them. The pkg-list name is optional. If only the pkg name is given as the argument, the command looks for the pkg name in all the pkg-lists in the local app and installs accordingly. A pkg is installed by this command only if it has not already been installed. remove Remove a pkg named input2 from pkg-list input1 , if pkg-list is specified. Otherwise only one input required - that of the name of the pkg to be removed from the local app."
,
+ "location": "/newt/command_list/newt_run/#description",
+ "text": "Sub-command Explanation run Same as running build target , create-image target version , load target , and debug target .",
"title": "Description"
},
{
- "location": "/newt/command_list/newt_pkg/#command-specific-flags",
- "text": "Sub-command Available flags Explanation install -b, --branch=\" \" Installs the pkgs from the branch name or tag of the pkg-list specified",
- "title": "Command-specific flags"
+ "location": "/newt/command_list/newt_run/#examples",
+ "text": "Sub-command Usage Explanation run newt run blink_rigado First compiles and builds executable for running the app defined in the target blink_rigado on the board defined in the same target, then loads image onto the board, and finally opens an active GNU gdb debugging session to run the image. run newt run ble_rigado 0.1.0.0 First compiles and builds executable for running the app defined in the target ble_rigado on the board defined in the same target, then signs and creates image with version number 0.1.0.0, loads the image onto the board, and finally opens an active GNU gdb debugging session to run the image. Note that if there is no bootloader available for a particular board/kit, a signed image creation step is not necessary.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newt/command_list/newt_size/",
+ "text": "newt size \n\n\nCalculate the size of target components specified by \n\n\nUsage:\n\n\n newt size \ntarget-name\n [flags]\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\n -l, --loglevel=\nWARN\n: Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\n -q, --quiet=false: Be quiet; only display error output.\n -s, --silent=false: Be silent; don\nt output anything.\n -v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nsize\n\n\nnewt size blink_rigado\n\n\nInspects and lists the RAM and Flash memory use by each component (object files and libraries) of the target.\n\n\n\n\n\n\n\n\nExample output for \nnewt size boot_olimex\n:\n\n\n$ newt size blink_rigado\n FLASH RAM \n 9 223 *fill*\n 1052 0 baselibc.a\n 195 1116 blinky.a\n 616 4
52 bmd300eval.a\n 64 0 cmsis-core.a\n 124 0 crt0.o\n 8 0 crti.o\n 16 0 crtn.o\n 277 196 full.a\n 20 8 hal.a\n 96 1068 libg.a\n 1452 0 libgcc.a\n 332 28 nrf52xxx.a\n 3143 677 os.a\n\nobjsize\n text data bss dec hex filename\n 7404 1172 2212 10788 2a24 /Users/\nusername\n/dev/rigado/bin/blink_rigado/apps/blinky/blinky.elf",
+ "title": "newt size"
+ },
+ {
+ "location": "/newt/command_list/newt_size/#newt-size",
+ "text": "Calculate the size of target components specified by",
+ "title": "newt size "
+ },
+ {
+ "location": "/newt/command_list/newt_size/#usage",
+ "text": "newt size target-name [flags]",
+ "title": "Usage:"
},
{
- "location": "/newt/command_list/newt_pkg/#examples",
- "text": "Sub-command Usage Explanation list newt pkg list CList all of the pkgs in the current app and the details of the pkgs. checkdeps newt pkg checkdeps Checks all the dependencies between pkgs in the app. Lists any unresolved dependencies. hunt newt pkg hunt blinky Hunts for the pkg named 'blinky'. The command can be invoked from anywhere in the app. Results show if the pkg is installed and which pkg-list, if any, has the pkg. show newt pkg show larva libs/os Show the contents of the pkg named 'libs/os' in the pkg-list named larva. The contents are essentially derived from the pkg's 'pkg.yml' file. install newt pkg install hw/bsp/stm32f3discovery Downloads and installs the pkg named \"stm32f3discovery\" (specified with its full path name inside the remote app) along with all its dependencies from the remote app on github. Since no pkg-list is specified, the URL for the remote app in the pkg-list description file found in the local app (i
n .app/pkg-lists for the project) is used. remove newt pkg remove larva blinky Removes the pkg named blinky only from the pkg-list named larva remove newt pkg remove blinky Removes the pkg named blinky from the local app",
+ "location": "/newt/command_list/newt_size/#flags",
+ "text": "-h, --help=false: help for target",
+ "title": "Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_size/#global-flags",
+ "text": "-l, --loglevel= WARN : Log level, defaults to WARN.\n -o, --outfile string Filename to tee log output to\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.",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newt/command_list/newt_size/#examples",
+ "text": "Sub-command Usage Explanation size newt size blink_rigado Inspects and lists the RAM and Flash memory use by each component (object files and libraries) of the target.",
"title": "Examples"
},
{
+ "location": "/newt/command_list/newt_size/#example-output-for-newt-size-boot_olimex",
+ "text": "$ newt size blink_rigado\n FLASH RAM \n 9 223 *fill*\n 1052 0 baselibc.a\n 195 1116 blinky.a\n 616 452 bmd300eval.a\n 64 0 cmsis-core.a\n 124 0 crt0.o\n 8 0 crti.o\n 16 0 crtn.o\n 277 196 full.a\n 20 8 hal.a\n 96 1068 libg.a\n 1452 0 libgcc.a\n 332 28 nrf52xxx.a\n 3143 677 os.a\n\nobjsize\n text data bss dec hex filename\n 7404 1172 2212 10788 2a24 /Users/ username /dev/rigado/bin/blink_rigado/apps/blinky/blinky.elf",
+ "title": "Example output for newt size boot_olimex:"
+ },
+ {
"location": "/newt/command_list/newt_target/",
- "text": "newt target \n\n\nProvides commands to create, build, delete, and query targets. \n\n\nUsage:\n\n\n newt target [command] input1 [flag1] [flag2]\n\n\n\n\n\nAvailable Commands:\n\n\n set Set target configuration variable\n unset Unset target configuration variable\n delete Delete target\n create Create a target\n show View target configuration variables\n build Build target\n test Test target\n size Size of the target\n label Add image header to target binary\n download Download project to target\n debug Open debugger session to target\n export Export target\n import Import target\n\n\n\n\n\nFlags:\n\n\n -h, --help=false: help for target\n\n\n\n\n\nGlobal Flags:\n\n\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\nt output anything.\n
-v, --verbose=false: Enable verbose output when executing commands.\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nset\n\n\nSet attributes (variables) of the target. Currently the list of possible attributes (variables) are:\narch, compiler, compiler_def, project, bsp, pkg, identities, capabilities, dependencies, cflags, lflags\n. Typically only the first 5 need to be set for a hardware target. For a simulated target, e.g. for software testing purposes, \narch=sim\n, \ncompiler=sim\n, and \npkg=\npkg name to be tested\n. You cannot set both the project and pkg for a target.\n\n\n\n\n\n\n\n\nTo display all the existing values for any target attribute (variable), you can simply hit return after that variable. For example, \nnewt target set target1 arch\n displays the valid values available for the attribute \narch\n for a target named \ntarget1\n.\n\n\n\n\n\n\nunset\n\n\nUnset attributes of the target in its configuration.\n\n\n\n\n\n\nde
lete\n\n\nDeletes only the description for the target. Does not delete the target directory with associated binaries. If you want to clean out the binaries, list files, and executables use\nnewt target build \ntarget-name\n clean\n \nbefore\n deleting the target!\n\n\n\n\n\n\ncreate\n\n\nCreates a target description or build definition by the name \ninput1\n. By default it assigns the sim (simulator) architecture to it which allows you to build new projects and software on your native OS and try it out.\n\n\n\n\n\n\nshow\n\n\nDisplay the configuration defined for the target named \ninput1\n. If no \ninput1\n is specified then show the details for all the targets in the app.\n\n\n\n\n\n\nbuild\n\n\nBuild the source code into an image that can be loaded on the hardware associated with the target named \ninput1\n to do the application enabled by the 'project' associated with that target (via the target definition). It creates 'bin/' and 'bin/\n/' subdirectories inside the base director
y for the project, compiles and generates binaries and executables, and places them in 'bin/\n/.\n\n\n\n\n\n\ntest\n\n\nTest a pkg on the target named \ninput1\n. The pkg is either supplied as an argument to the command line invocation of \nnewt target test\n or added as part of the target definition. If only the target is specified as \ninput1\n, then the pkg in the target's definition is automatically chosen to be tested. You currently cannot test an entire project on a hardware target. The test command is envisioned for use if one or two pkgs gets updated and each needs to be tested against a target. Alternatively, a script may be written for a series of tests on several pkgs.\n\n\n\n\n\n\nsize\n\n\nDisplays the memory used (in bytes) by the component libraries that have been compiled and linked to form the executable for the specified target build (input1). The memory usage of the different components is shown by each memory type available in the bsp (board support package) used
in the target e.g. RAM, flash, CCM etc.\n\n\n\n\n\n\nlabel\n\n\nAppends an image header to the created binary file for the target named \ninput1\n. Version number in the header is set to the value given as \n[flag1]\n. The manifest.json file in the directory with the binaries (project/\n/bin/\n) reflects the version number. A manifest.json file is created if none exists for the target.\n\n\n\n\n\n\nexport\n\n\nExports the configurations of the specified target \ninput1\n. If -a or -export-all flag is used, then all targets are exported and printed out to standard out. You may redirect the output to a file.\n\n\n\n\n\n\nimport\n\n\nImport one or more target configuration from standard input or a file. Each target starts with \n@target=\ntarget-name\n followed by the attributes. The list of targets should end with \n@endtargets\n.\n\n\n\n\n\n\ndownload\n\n\nDownloads the binary executable \ntarget-name\n.elf.bin\n to the board.\n\n\n\n\n\n\ndebug\n\n\nDownloads the binary executable
\ntarget-name\n.elf.bin\n to the board and starts up the openocd/gdb combination session. gdb takes over the terminal.\n\n\n\n\n\n\n\n\nCommand-specific flags\n\n\n\n\n\n\n\n\nSub-command\n\n\nAvailable flags\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nbuild\n\n\nclean\n\n\nAll the binaries and object files for the specified target will be removed. The subdirectory named after the specified target within that project is removed.\n\n\n\n\n\n\nbuild clean\n\n\nall\n\n\nAll the binaries and object files for all targets are removed, and subdirectories of all targets for the project are removed. However, the entire repository is not emptied since any pkgs or projects that the specified target doesn't reference are not touched.\n\n\n\n\n\n\nexport\n\n\n-a, -export-all\n\n\nExport all targets. \ninput1\n is not necessary when this flag is used.\n\n\n\
<TRUNCATED>
[2/6] incubator-mynewt-site git commit: added Release Notes link for
b2 release, added and updated all the newt commands,
and updated arduino zero instructions to clarify setting of a target's
features to zero and zero_pro
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_run/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_run/index.html b/newt/command_list/newt_run/index.html
new file mode 100644
index 0000000..be84916
--- /dev/null
+++ b/newt/command_list/newt_run/index.html
@@ -0,0 +1,627 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_run/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt run - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt run">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt run
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt run</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-run"><font color="#F2853F" style="font-size:24pt">newt run </font><a class="headerlink" href="#newt-run" title="Permanent link">¶</a></h2>
+<p>A single command to do four steps - build a target, create-image, load image on a board, and start a debug session with the image on board.</p>
+<p><strong>Note</strong>: If version number is omitted, create-image step is skipped</p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt run <target-name> [<version>][flags]
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>run</td>
+<td>Same as running <code>build <target></code>, <code>create-image <target> <version></code>, <code>load <target></code>, and <code>debug <target></code>.</td>
+</tr>
+</tbody>
+</table>
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Usage</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>run</td>
+<td>newt run blink_rigado</td>
+<td>First compiles and builds executable for running the app defined in the target <code>blink_rigado</code> on the board defined in the same target, then loads image onto the board, and finally opens an active GNU gdb debugging session to run the image.</td>
+</tr>
+<tr>
+<td>run</td>
+<td>newt run ble_rigado 0.1.0.0</td>
+<td>First compiles and builds executable for running the app defined in the target <code>ble_rigado</code> on the board defined in the same target, then signs and creates image with version number 0.1.0.0, loads the image onto the board, and finally opens an active GNU gdb debugging session to run the image. <br> <br> Note that if there is no bootloader available for a particular board/kit, a signed image creation step is not necessary.</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_new/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt new
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_size/>
+ Next: newt size
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_size/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_size/index.html b/newt/command_list/newt_size/index.html
new file mode 100644
index 0000000..3a75f2f
--- /dev/null
+++ b/newt/command_list/newt_size/index.html
@@ -0,0 +1,628 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_size/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt size - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt size">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt size
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt size</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-size"><font color="#F2853F" style="font-size:24pt">newt size </font><a class="headerlink" href="#newt-size" title="Permanent link">¶</a></h2>
+<p>Calculate the size of target components specified by <target-name></p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt size <target-name> [flags]
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Usage</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>size</td>
+<td>newt size blink_rigado</td>
+<td>Inspects and lists the RAM and Flash memory use by each component (object files and libraries) of the target.</td>
+</tr>
+</tbody>
+</table>
+<h4 id="example-output-for-newt-size-boot_olimex">Example output for <code>newt size boot_olimex</code>:<a class="headerlink" href="#example-output-for-newt-size-boot_olimex" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt size blink_rigado
+ FLASH RAM
+ 9 223 *fill*
+ 1052 0 baselibc.a
+ 195 1116 blinky.a
+ 616 452 bmd300eval.a
+ 64 0 cmsis-core.a
+ 124 0 crt0.o
+ 8 0 crti.o
+ 16 0 crtn.o
+ 277 196 full.a
+ 20 8 hal.a
+ 96 1068 libg.a
+ 1452 0 libgcc.a
+ 332 28 nrf52xxx.a
+ 3143 677 os.a
+
+objsize
+ text data bss dec hex filename
+ 7404 1172 2212 10788 2a24 /Users/<username>/dev/rigado/bin/blink_rigado/apps/blinky/blinky.elf
+</pre></div>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_run/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt run
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_target/>
+ Next: newt target
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_target/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_target/index.html b/newt/command_list/newt_target/index.html
index b69a510..b327790 100644
--- a/newt/command_list/newt_target/index.html
+++ b/newt/command_list/newt_target/index.html
@@ -247,19 +247,38 @@
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
- <li><a href="
- ../newt_app/
-">Command list</a>
+
+
+
+
+
-
- <ul class="current-toc">
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
<li>
- <a href="../newt_app/">newt app</a>
+ <a href="../newt_debug/">newt debug</a>
</li>
@@ -279,6 +298,36 @@
<li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
<a href="../newt_new/">newt new</a>
</li>
@@ -289,7 +338,17 @@
<li>
- <a href="../newt_pkg/">newt pkg</a>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
</li>
@@ -309,15 +368,29 @@
<li>
- <a href="../newt_version/">newt version</a>
+ <a href="../newt_test/">newt test</a>
</li>
- </ul>
-
- </li>
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
@@ -409,11 +482,11 @@
- <li>» <a href="../../newt_ops/">User Guide</a></li>
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
- <li>» <a href="../newt_app/">Command list</a></li>
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
@@ -429,24 +502,17 @@
<h2 id="newt-target"><font color="#F2853F" style="font-size:24pt">newt target </font><a class="headerlink" href="#newt-target" title="Permanent link">¶</a></h2>
<p>Provides commands to create, build, delete, and query targets. </p>
<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt target [command] input1 [flag1] [flag2]
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt target [command] input1 [input2]
</pre></div>
<h4 id="available-commands">Available Commands:<a class="headerlink" href="#available-commands" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> set Set target configuration variable
- unset Unset target configuration variable
- delete Delete target
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> show View target configuration variables
+ set Set target configuration variable
create Create a target
- show View target configuration variables
- build Build target
- test Test target
- size Size of the target
- label Add image header to target binary
- download Download project to target
- debug Open debugger session to target
- export Export target
- import Import target
+ delete Delete target
+ copy Copy target
+ vars Show variable names possible for a target
</pre></div>
@@ -457,6 +523,7 @@
<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
-q, --quiet=false: Be quiet; only display error output.
-s, --silent=false: Be silent; don't output anything.
-v, --verbose=false: Enable verbose output when executing commands.
@@ -473,92 +540,36 @@
</thead>
<tbody>
<tr>
-<td>set</td>
-<td>Set attributes (variables) of the target. Currently the list of possible attributes (variables) are:<code>arch, compiler, compiler_def, project, bsp, pkg, identities, capabilities, dependencies, cflags, lflags</code>. Typically only the first 5 need to be set for a hardware target. For a simulated target, e.g. for software testing purposes, <code>arch=sim</code>, <code>compiler=sim</code>, and <code>pkg=<pkg name to be tested></code>. You cannot set both the project and pkg for a target.</td>
-</tr>
-<tr>
-<td></td>
-<td>To display all the existing values for any target attribute (variable), you can simply hit return after that variable. For example, <code>newt target set target1 arch</code> displays the valid values available for the attribute <code>arch</code> for a target named <code>target1</code>.</td>
-</tr>
-<tr>
-<td>unset</td>
-<td>Unset attributes of the target in its configuration.</td>
-</tr>
-<tr>
-<td>delete</td>
-<td>Deletes only the description for the target. Does not delete the target directory with associated binaries. If you want to clean out the binaries, list files, and executables use<code>newt target build <target-name> clean</code> <strong>before</strong> deleting the target!</td>
-</tr>
-<tr>
-<td>create</td>
-<td>Creates a target description or build definition by the name <code>input1</code>. By default it assigns the sim (simulator) architecture to it which allows you to build new projects and software on your native OS and try it out.</td>
-</tr>
-<tr>
<td>show</td>
-<td>Display the configuration defined for the target named <code>input1</code>. If no <code>input1</code> is specified then show the details for all the targets in the app.</td>
-</tr>
-<tr>
-<td>build</td>
-<td>Build the source code into an image that can be loaded on the hardware associated with the target named <code>input1</code> to do the application enabled by the 'project' associated with that target (via the target definition). It creates 'bin/' and 'bin/<input1>/' subdirectories inside the base directory for the project, compiles and generates binaries and executables, and places them in 'bin/<input1>/.</td>
+<td>Shows what variables (attributes) are set on the specified target <code>input1</code>. If no <code>input1</code> is specified then show the configuration for all the targets defined so far.</td>
</tr>
<tr>
-<td>test</td>
-<td>Test a pkg on the target named <code>input1</code>. The pkg is either supplied as an argument to the command line invocation of <code>newt target test</code> or added as part of the target definition. If only the target is specified as <code>input1</code>, then the pkg in the target's definition is automatically chosen to be tested. You currently cannot test an entire project on a hardware target. The test command is envisioned for use if one or two pkgs gets updated and each needs to be tested against a target. Alternatively, a script may be written for a series of tests on several pkgs.</td>
-</tr>
-<tr>
-<td>size</td>
-<td>Displays the memory used (in bytes) by the component libraries that have been compiled and linked to form the executable for the specified target build (input1). The memory usage of the different components is shown by each memory type available in the bsp (board support package) used in the target e.g. RAM, flash, CCM etc.</td>
-</tr>
-<tr>
-<td>label</td>
-<td>Appends an image header to the created binary file for the target named <code>input1</code>. Version number in the header is set to the value given as <code>[flag1]</code>. The manifest.json file in the directory with the binaries (project/<project-name>/bin/<target-name>) reflects the version number. A manifest.json file is created if none exists for the target.</td>
-</tr>
-<tr>
-<td>export</td>
-<td>Exports the configurations of the specified target <code>input1</code>. If -a or -export-all flag is used, then all targets are exported and printed out to standard out. You may redirect the output to a file.</td>
-</tr>
-<tr>
-<td>import</td>
-<td>Import one or more target configuration from standard input or a file. Each target starts with <code>@target=<target-name></code> followed by the attributes. The list of targets should end with <code>@endtargets</code>.</td>
-</tr>
-<tr>
-<td>download</td>
-<td>Downloads the binary executable <code><target-name>.elf.bin</code> to the board.</td>
+<td>set</td>
+<td>Set variables (attributes) of the target named via <code>input1</code>. Currently the list of possible attributes (variables) are:<code>app</code>, <code>bsp</code>, <code>build_profile</code>, <code>features</code>, <code>cflags</code>, <code>lflags</code>. For a simulated target, e.g. for software testing purposes, <code>bsp</code> is set to <code>@apache-mynewt-core/hw/bsp/native</code>.</td>
</tr>
<tr>
-<td>debug</td>
-<td>Downloads the binary executable <code><target-name>.elf.bin</code> to the board and starts up the openocd/gdb combination session. gdb takes over the terminal.</td>
+<td></td>
+<td>To display all the existing values for a target variable (attribute), you can simply hit return after that variable. For example, <code>newt target set input1 app</code> displays the valid values available for the variable <code>app</code> for a target named <code>input11</code>.</td>
</tr>
-</tbody>
-</table>
-<h4 id="command-specific-flags">Command-specific flags<a class="headerlink" href="#command-specific-flags" title="Permanent link">¶</a></h4>
-<table>
-<thead>
<tr>
-<th>Sub-command</th>
-<th>Available flags</th>
-<th>Explanation</th>
+<td></td>
+<td>Currently, the only two values available for <code>build_profile</code> are <code>optimized</code> and <code>debug</code>.</td>
</tr>
-</thead>
-<tbody>
<tr>
-<td>build</td>
-<td>clean</td>
-<td>All the binaries and object files for the specified target will be removed. The subdirectory named after the specified target within that project is removed.</td>
+<td>create</td>
+<td>Creates an empty target definition by the name of <code>input1</code>.</td>
</tr>
<tr>
-<td>build clean</td>
-<td>all</td>
-<td>All the binaries and object files for all targets are removed, and subdirectories of all targets for the project are removed. However, the entire repository is not emptied since any pkgs or projects that the specified target doesn't reference are not touched.</td>
+<td>delete</td>
+<td>Deletes only the description for the target. Does not delete the target directory with associated binaries. If you want to clean out the binaries, list files, and executables use<code>newt target clean <target-name></code> <strong>before</strong> deleting the target!</td>
</tr>
<tr>
-<td>export</td>
-<td>-a, -export-all</td>
-<td>Export all targets. <code>input1</code> is not necessary when this flag is used.</td>
+<td>copy</td>
+<td>Creates a new target by the name of <code>input2</code> by cloning the definition of an existing target named <code>input1</code>.</td>
</tr>
<tr>
-<td>import</td>
-<td>-a, -import-all</td>
-<td>Import all targets typed into standard input or redirected from a file.</td>
+<td>vars</td>
+<td>Shows what variables (attributes) are available to set on the target</td>
</tr>
</tbody>
</table>
@@ -573,141 +584,32 @@
</thead>
<tbody>
<tr>
-<td>set</td>
-<td>newt target set myblinky compiler=arm-none-eabi-m4</td>
-<td>Set the compiler for the 'myblinky' target to the gcc compiler for embedded ARM chips.</td>
-</tr>
-<tr>
-<td>set</td>
-<td>newt target set myblinky compiler</td>
-<td>Lists the valid values currently available to be assigned for target attribute (variable) 'compiler'. For example, arm-none-eabi-m0, arm-none-eabi-m4, sim. As Mynewt grows, the number of possible values will grow.</td>
-</tr>
-<tr>
-<td>unset</td>
-<td>newt target unset myblinky compiler</td>
-<td>Remove the setting for the compiler for the 'myblinky' target.</td>
-</tr>
-<tr>
-<td>delete</td>
-<td>newt target delete myblinky</td>
-<td>Delete the target description for the target named 'myblinky'. Note that it does not remove any binaries or clean out the directory for this target.</td>
-</tr>
-<tr>
-<td>create</td>
-<td>newt target create blink_f3disc</td>
-<td>Create a new target description by the name 'blink_f3disc'. The architecture is 'sim' by default and can be changed using subcommand 'set' above.</td>
-</tr>
-<tr>
<td>show</td>
-<td>newt target show myblinky</td>
-<td>Show the target attributes set for 'myblinky'</td>
-</tr>
-<tr>
-<td>build</td>
-<td>newt target build blink_f3disc</td>
-<td>Compile the source code for the target named blink_f3disc and generate binaries that can be loaded into the target hardware.</td>
-</tr>
-<tr>
-<td>test</td>
-<td>newt target test test_target pkg=libs/os</td>
-<td>Tests the pkg named 'libs/os' against the target named 'test_target'</td>
-</tr>
-<tr>
-<td>size</td>
-<td>newt target size -v boot_olimex</td>
-<td>Displays the memory footprint in bytes for all object and linked files for the target named boot_olimex. The -v option shows all the steps of loading and inspecting the different pkgs required for the project on this target as well as the different memory locations available. The memory usage for each component is broken up into the different memory types used. An example output is shown for <code>newt target size boot_olimex</code> below.</td>
-</tr>
-<tr>
-<td>label</td>
-<td>newt target label boot_olimex 2.0.1</td>
-<td>Appends an image header specifying the version number as 2.0.1 to the binary image file for target named boot_olimex. The version number in the manifest.json file for this target is also updated to 2.0.1.</td>
-</tr>
-<tr>
-<td>export</td>
-<td>newt target export -a > my_exports.txt</td>
-<td>Export all build targets from the current app, and redirect output to a file named 'my_exports.txt'.</td>
-</tr>
-<tr>
-<td>export</td>
-<td>newt target export -export-all</td>
-<td>Export all build targets from the current app, and print them to standard output on the screen.</td>
-</tr>
-<tr>
-<td>export</td>
-<td>newt target export my_target</td>
-<td>Export only target named 'my_target' and print it to standard output on the screen.</td>
-</tr>
-<tr>
-<td>import</td>
-<td>newt target import ex_tgt_1 < exported_targets.txt</td>
-<td>Imports the target configuration for 'ex_tgt_1' in 'exported_targets.txt'.</td>
-</tr>
-<tr>
-<td>import</td>
-<td>newt target import -a < in_targets.txt</td>
-<td>Imports all the targets specified in the file named <code>in_targets.txt</code>. A sample file is shown after this table.</td>
+<td>newt target show myble</td>
+<td>Shows all variable settings for the target named "myble" i.e. what app, bsp, build_profile, features, cflags are set to. Note that all variables are not required to be set in order to successfully define a target.</td>
</tr>
<tr>
-<td>import</td>
-<td>newt target import test3</td>
-<td>Awaits all the configuration variables for a target named 'test3'. This allows you to define all the attributes in one shot e.g. by cutting and pasting the contents of <code>in_targets.txt</code> file shown at the bottom of this page.</td>
+<td>show</td>
+<td>newt target show</td>
+<td>Shows all variable settings for all the targets defined.</td>
</tr>
<tr>
-<td>size</td>
-<td>newt target size blink_nordic</td>
-<td>Inspects and lists the RAM and Flash memory use by each component (object files and libraries) of the target.</td>
+<td>set</td>
+<td>newt target set myble app=@apache-mynewt-core/apps/bletiny</td>
+<td>Assign <code>bletiny</code> to be the application to be included in the build for the target named <code>myble</code>.</td>
</tr>
<tr>
-<td>download</td>
-<td>newt target -v -lVERBOSE download blinky</td>
-<td>Downloads <code>blinky.elf.bin</code> to the hardware in verbose mode with logging turned on at VERBOSE level.</td>
+<td>copy</td>
+<td>newt target copy my_blinky_sim test1</td>
+<td>Creates a new target by the name <code>test1</code> by copying the attributes from <code>my_blinky_sim</code></td>
</tr>
<tr>
-<td>debug</td>
-<td>newt target debug blinky</td>
-<td>Downloads <code>blinky.elf.bin</code> to the hardware, opens up a gdb session with <code>blinky.elf</code> in the terminal, and halts for further input in gdb.</td>
+<td>vars</td>
+<td>newt target vars</td>
+<td>Shows all the variables newt recognizes - app, bsp, build_profile, features</td>
</tr>
</tbody>
</table>
-<h4 id="example-output-for-newt-target-size-boot_olimex">Example output for <code>newt target size boot_olimex</code>:<a class="headerlink" href="#example-output-for-newt-target-size-boot_olimex" title="Permanent link">¶</a></h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt target size boot_olimex
-Inspecting target boot_olimex (project = boot)
- FLASH CCM RAM
- 13 0 3 *fill*
- 239 0 0 boot.o
- 124 0 0 crt0.o
- 84 0 40 crtbegin.o
- 4 0 4 crtend.o
- 8 0 0 crti.o
- 16 0 0 crtn.o
- 1396 0 50 libbaselibc.a
- 2054 0 1104 libbootutil.a
- 84 0 0 libcmsis-core.a
- 266 0 4 libfs.a
- 80 0 0 libg.a
- 1452 0 0 libgcc.a
- 940 0 8 libhal.a
- 12130 0 538 libnffs.a
- 1172 3072 68 libolimex_stm32-e407_devboard.a
- 3654 0 645 libos.a
- 1504 0 32 libstm32f4xx.a
-</pre></div>
-
-
-<h4 id="example-content-for-in_targetstxt-file-used-for-importing-targets-test3-and-test4">Example content for <code>in_targets.txt</code> file used for importing targets <code>test3</code> and <code>test4</code>.<a class="headerlink" href="#example-content-for-in_targetstxt-file-used-for-importing-targets-test3-and-test4" title="Permanent link">¶</a></h4>
-<blockquote>
-<p>@target=test3<br />
-project=blinked<br />
-arch=sim<br />
-compiler_def=debug<br />
-compiler=arm-none-eabi-m4<br />
-@target=test4<br />
-project=super_blinky<br />
-arch=sim<br />
-compiler_def=debug<br />
-compiler=arm-none-eabi-m4<br />
-@endtargets</p>
-</blockquote>
<div class="row">
@@ -717,16 +619,16 @@ compiler=arm-none-eabi-m4<br />
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
- <a href=../newt_pkg/>
+ <a href=../newt_size/>
<span class="fa fa-arrow-left"></span>
- Previous: newt pkg
+ Previous: newt size
</a>
</li>
<li class="pull-right">
- <a href=../newt_version/>
- Next: newt version
+ <a href=../newt_test/>
+ Next: newt test
<span class="fa fa-arrow-right"></span>
</a>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_test/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_test/index.html b/newt/command_list/newt_test/index.html
new file mode 100644
index 0000000..a11672c
--- /dev/null
+++ b/newt/command_list/newt_test/index.html
@@ -0,0 +1,631 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_test/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt test - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt test">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt test
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_upgrade/">newt upgrade</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt test</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-test"><font color="#F2853F" style="font-size:24pt">newt test </font><a class="headerlink" href="#newt-test" title="Permanent link">¶</a></h2>
+<p>Executes unit tests for one or more packages </p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt test [flags] input1 [input2] ...
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help=false: help for target
+</pre></div>
+
+
+<h4 id="global-flags">Global Flags:<a class="headerlink" href="#global-flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>test</td>
+<td>Test a pkg named <code>input1</code>. You may specify multiple packages separated by space in the same command.</td>
+</tr>
+</tbody>
+</table>
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Usage</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>test</td>
+<td>newt test targets/myble2</td>
+<td>Tests the pkg named 'targets/myble2'</td>
+</tr>
+<tr>
+<td></td>
+<td>newt test @apache-mynewt-core/libs/os</td>
+<td>Tests the libs/os pkg in the repo named apache-mynewt-core</td>
+</tr>
+<tr>
+<td></td>
+<td>newt test libs/os libs/json</td>
+<td>Tests the <code>libs/os</code> and <code>libs/json packages</code> in the current repo. Should indicate at the end of the output: <br> <code>Passed tests: [libs/os libs/json]</code> <br> <code>All tests passed</code></td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_target/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt target
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_upgrade/>
+ Next: newt upgrade
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/newt/command_list/newt_upgrade/index.html
----------------------------------------------------------------------
diff --git a/newt/command_list/newt_upgrade/index.html b/newt/command_list/newt_upgrade/index.html
new file mode 100644
index 0000000..482d6b8
--- /dev/null
+++ b/newt/command_list/newt_upgrade/index.html
@@ -0,0 +1,603 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+
+ <link rel="canonical" href="http://mynewt.apache.org/newt/command_list/newt_upgrade/">
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newt upgrade - Apache Mynewt</title>
+
+ <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
+ <link href="../../../css/font-awesome-4.0.3.css" rel="stylesheet">
+ <link rel="stylesheet" href="../../../css/highlight.css">
+ <link href="../../../css/base.css" rel="stylesheet">
+ <link href="../../../css/custom.css" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+ <link href="../../../extra.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
+ ga('send', 'pageview');
+ </script>
+
+ </head>
+
+
+ <body class="newt upgrade">
+
+
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="logo-container">
+ <img src="/img/logo.svg">
+ </div>
+ <div class="container-fluid">
+ <!-- Collapsed navigation -->
+ <div class="navbar-header">
+ <!-- Expander button -->
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ </div>
+
+ <!-- Expanded navigation -->
+ <div class="navbar-collapse collapse">
+ <!-- Main navigation -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="/">Home</a>
+ </li>
+ <li>
+ <a href="/about/">About</a>
+ </li>
+ <li class="dropdown">
+ <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+
+
+
+
+
+ <li >
+ <a href="../../../documentation/">
+ Overview
+ </a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li >
+ <a href="../../../os/get_started/introduction/">
+ Mynewt OS Manual
+ </a>
+ </li>
+
+
+
+ <li class="active">
+ <a href="../../newt_intro/">
+ Newt Tool Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../newtmgr/overview/">
+ Newt Manager Manual
+ </a>
+ </li>
+
+
+
+ <li >
+ <a href="../../../os/tutorials/how_to_edit_docs/">
+ Appendix
+ </a>
+ </li>
+
+
+ </ul>
+ </li>
+ <li>
+ <a href="/download/">Download</a>
+ </li>
+ <li>
+ <a href="/community/">Community</a>
+ </li>
+ <li>
+ <a href="/events/">Events</a>
+ </li>
+ </ul>
+
+ <!-- Search, Navigation and Repo links -->
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+
+
+ <div class="container-fluid">
+
+ <div class="row sm-extra-padding">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div class="sidebar-top">
+ <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
+ <div class="small" role="search">
+ <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
+ <div class="form-group">
+ <input type="text" name="q" placeholder="Search documentation" />
+ <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
+ </div>
+ </form>
+ </div>
+ </div>
+ <ul class="nav bs-sidenav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/get_started/introduction/
+">Mynewt OS Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../newt_intro/
+">Newt Tool Manual</a>
+
+
+ <ul class="current-toc">
+
+
+
+
+ <li>
+ <a href="../../newt_intro/">Introduction</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li><a href="
+ ../../install/newt_mac/
+">Install</a>
+
+
+ </li>
+
+
+
+
+
+
+ <li>
+ <a href="../../newt_operation/">Newt Theory of Ops</a>
+ </li>
+
+
+
+
+
+
+
+
+ <li ><a href="../../newt_ops/">User Guide</a></li>
+
+
+ <ul class="current-toc">
+
+
+
+
+
+
+ <li>
+ <a href="../newt_build/">newt build</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_clean/">newt clean</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_create_image/">newt create-image</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_debug/">newt debug</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_help/">newt help</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_info/">newt info</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_install/">newt install</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_load/">newt load</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_new/">newt new</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_run/">newt run</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_size/">newt size</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_target/">newt target</a>
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_test/">newt test</a>
+ </li>
+
+
+
+
+
+
+
+ <li class="active">
+ newt upgrade
+ </li>
+
+
+
+
+
+
+
+ <li>
+ <a href="../newt_version/">newt version</a>
+ </li>
+
+
+
+
+ </ul>
+
+ </li>
+
+
+
+ </ul>
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../newtmgr/overview/
+">Newt Manager Manual</a>
+
+
+ </li>
+
+
+
+
+
+
+
+ <li><a href="
+ ../../../os/tutorials/how_to_edit_docs/
+">Appendix</a>
+
+
+ </li>
+
+
+
+ </ul>
+</div></div>
+
+ <div class="show-sidebar-container">
+ <button class="show-sidebar">Docs Menu</button>
+ </div>
+
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
+ <div class="row doc-header">
+ <div class="col-sm-6">
+
+<ul class="nav nav-pills">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li role="presentation"><a href="../../../os/get_started/introduction/">Mynewt OS</a></li>
+
+
+
+ <li class="active" role="presentation"><a href="../../newt_intro/">Newt Tool</a></li>
+
+
+
+ <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li>
+
+
+
+
+</ul>
+ </div>
+ <div class="col-sm-6">
+ <div role="navigation" aria-label="breadcrumbs navigation">
+ <ul class="wy-breadcrumbs">
+ <li><a href="/documentation/">Docs</a></li>
+
+
+
+ <li>» <a href="../../newt_intro/">Newt Tool Manual</a></li>
+
+
+
+ <li>» <a href="../../newt_ops/">User Guide</a></li>
+
+
+
+ <li>» newt upgrade</li>
+
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+
+ <h2 id="newt-upgrade"><font color="#F2853F" style="font-size:24pt">newt upgrade </font><a class="headerlink" href="#newt-upgrade" title="Permanent link">¶</a></h2>
+<p>Upgrade project dependencies</p>
+<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newt pkg [command][flag] input1 input2
+</pre></div>
+
+
+<h4 id="flags">Flags:<a class="headerlink" href="#flags" title="Permanent link">¶</a></h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -f, --force Force upgrade of the repositories to latest state in project.yml
+
+#### Global Flags:
+
+ -l, --loglevel="WARN": Log level, defaults to WARN.
+ -o, --outfile string Filename to tee log output to
+ -q, --quiet=false: Be quiet; only display error output.
+ -s, --silent=false: Be silent; don't output anything.
+ -v, --verbose=false: Enable verbose output when executing commands.
+</pre></div>
+
+
+<h4 id="description">Description<a class="headerlink" href="#description" title="Permanent link">¶</a></h4>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>upgrade</td>
+<td>If you have changed the project.yml description for the project, you need to run this command to update all the package dependencies.</td>
+</tr>
+</tbody>
+</table>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newt_test/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newt test
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newt_version/>
+ Next: newt version
+ <span class="fa fa-arrow-right"></span>
+ </a>
+
+ </li>
+</ul>
+ </div>
+ <div class="row">
+ <footer>
+ <div class="row">
+ <div class="col-md-12">
+
+ <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
+
+ </div>
+ </div>
+ <div class="copyright-logos">
+ <div class="row">
+ <div class="col-xs-6 text-right">
+ <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+ </div>
+ <div class="col-xs-6 text-left">
+ <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <small class="footnote">
+ MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+ </small>
+ </div>
+ </div>
+</footer>
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+
+ <script src="../../../js/jquery-1.10.2.min.js"></script>
+ <script src="../../../js/bootstrap-3.0.3.min.js"></script>
+ <script src="../../../js/highlight.pack.js"></script>
+ <script src="../../../js/base.js"></script>
+ <script src="../../../js/custom.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
[6/6] incubator-mynewt-site git commit: added Release Notes link for
b2 release, added and updated all the newt commands,
and updated arduino zero instructions to clarify setting of a target's
features to zero and zero_pro
Posted by ad...@apache.org.
added Release Notes link for b2 release, added and updated all the newt commands, and updated arduino zero instructions to clarify setting of a target's features to zero and zero_pro
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/b7fbe979
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/b7fbe979
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/b7fbe979
Branch: refs/heads/asf-site
Commit: b7fbe97933702bba2fc143be34cf418de4f4c3f5
Parents: 275d27e
Author: aditihilbert <ad...@runtime.io>
Authored: Fri Apr 1 15:44:40 2016 -0700
Committer: aditihilbert <ad...@runtime.io>
Committed: Fri Apr 1 15:44:40 2016 -0700
----------------------------------------------------------------------
download/index.html | 4 +-
mkdocs/search_index.json | 399 ++++++++++---
newt/command_list/newt_app/index.html | 599 -------------------
newt/command_list/newt_build/index.html | 617 +++++++++++++++++++
newt/command_list/newt_clean/index.html | 621 +++++++++++++++++++
newt/command_list/newt_create_image/index.html | 621 +++++++++++++++++++
newt/command_list/newt_debug/index.html | 621 +++++++++++++++++++
newt/command_list/newt_help/index.html | 146 ++++-
newt/command_list/newt_info/index.html | 599 +++++++++++++++++++
newt/command_list/newt_install/index.html | 605 +++++++++++++++++++
newt/command_list/newt_load/index.html | 604 +++++++++++++++++++
newt/command_list/newt_new/index.html | 122 +++-
newt/command_list/newt_pkg/index.html | 623 -------------------
newt/command_list/newt_run/index.html | 627 +++++++++++++++++++
newt/command_list/newt_size/index.html | 628 +++++++++++++++++++
newt/command_list/newt_target/index.html | 350 ++++-------
newt/command_list/newt_test/index.html | 631 ++++++++++++++++++++
newt/command_list/newt_upgrade/index.html | 603 +++++++++++++++++++
newt/command_list/newt_version/index.html | 106 +++-
newt/newt_ops/index.html | 151 ++++-
os/tutorials/arduino_zero/index.html | 23 +-
sitemap.xml | 26 +-
22 files changed, 7711 insertions(+), 1615 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b7fbe979/download/index.html
----------------------------------------------------------------------
diff --git a/download/index.html b/download/index.html
index 8ed14f1..d747c68 100644
--- a/download/index.html
+++ b/download/index.html
@@ -188,7 +188,7 @@
</div>
<div class="row">
<div class="col-md-12">
- <p>Starting with the second release, links to the Release Notes will be published here.</p>
+ <p> <a href="https://cwiki.apache.org/confluence/display/MYNEWT/RN-0.8.0-b2-incubating">For 0.8.0-b2</a> </p>
</div>
</div>
</div>
@@ -204,7 +204,7 @@
</div>
<div class="row">
<div class="col-md-12">
- <p>Links to older releases will be listed here when the newest release becomes available.</p>
+ <p>Links to older releases as they become available</p>
</div>
</div>
</div>