http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/newt/newt_intro/index.html ---------------------------------------------------------------------- diff --git a/newt/newt_intro/index.html b/newt/newt_intro/index.html new file mode 100644 index 0000000..befb219 --- /dev/null +++ b/newt/newt_intro/index.html @@ -0,0 +1,251 @@ +<!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.incubator.apache.org/newt/newt_intro/"> + <link rel="shortcut icon" href="../../img/favicon.ico"> + + <title>Introduction - 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="Introduction"> + + + <div 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="/documentation/">Docs</a> + </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 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/ +">Apache Mynewt Manual</a> + + </li> + + + + + + + <li><a href=" + ./ +">Newt Tool Manual</a> + + <ul class="current-toc"> + + + + <li class="active"> + Introduction + </li> + + + + + + <li><a href=" + ../newt_mac/ +">Tutorials</a> + + </li> + + + + + <li><a href=" + ../newt_ops/ +">Manual</a> + + </li> + + + </ul> + + </li> + + + + + + + <li><a href=" + ../../newtmgr/overview/ +">Newt Manager Manual</a> + + </li> + + + + </ul> +</div></div> + + <div class="show-sidebar-container"> + <button class="show-sidebar">Docs Menu</button> + </div> + + <div class="col-md-9 documentation-viewer" role="main"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../..">Docs</a> »</li> + + + + <li>Newt Tool Manual »</li> + + + + <li>Introduction</li> + <li class="wy-breadcrumbs-aside"> + + </li> + </ul> + <hr/> +</div> + + <h2 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">¶</a></h2> +<p>What is newt tool?</p> + + </div> + </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> + + <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/eb0d660b/newt/newt_linux/index.html ---------------------------------------------------------------------- diff --git a/newt/newt_linux/index.html b/newt/newt_linux/index.html new file mode 100644 index 0000000..1f1c450 --- /dev/null +++ b/newt/newt_linux/index.html @@ -0,0 +1,385 @@ +<!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.incubator.apache.org/newt/newt_linux/"> + <link rel="shortcut icon" href="../../img/favicon.ico"> + + <title>Install newt from source on Linux - 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="Install newt from source on Linux"> + + + <div 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="/documentation/">Docs</a> + </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 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/ +">Apache Mynewt 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=" + ../newt_mac/ +">Tutorials</a> + + <ul class="current-toc"> + + + + <li> + <a href="../newt_mac/">Install newt from source on Mac</a> + </li> + + + + + + <li class="active"> + Install newt from source on Linux + </li> + + + + </ul> + + </li> + + + + + <li><a href=" + ../newt_ops/ +">Manual</a> + + </li> + + + </ul> + + </li> + + + + + + + <li><a href=" + ../../newtmgr/overview/ +">Newt Manager Manual</a> + + </li> + + + + </ul> +</div></div> + + <div class="show-sidebar-container"> + <button class="show-sidebar">Docs Menu</button> + </div> + + <div class="col-md-9 documentation-viewer" role="main"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../..">Docs</a> »</li> + + + + <li>Newt Tool Manual »</li> + + + + <li>Tutorials »</li> + + + + <li>Install newt from source on Linux</li> + <li class="wy-breadcrumbs-aside"> + + </li> + </ul> + <hr/> +</div> + + <h2 id="building-newt-tool-on-linux">Building newt tool on Linux<a class="headerlink" href="#building-newt-tool-on-linux" title="Permanent link">¶</a></h2> +<h3 id="getting-your-ubuntu-machine-ready">Getting your Ubuntu machine Ready<a class="headerlink" href="#getting-your-ubuntu-machine-ready" title="Permanent link">¶</a></h3> +<h4 id="installing-some-prerequisites">Installing some prerequisites<a class="headerlink" href="#installing-some-prerequisites" title="Permanent link">¶</a></h4> +<ul> +<li>Install git, libcurl, and the Go language if you do not have them already.</li> +</ul> +<pre><code class="no-highlight"> $ sudo apt-get install git + $ sudo apt-get install libcurl4-gnutls-dev + $ sudo apt-get install golang +</code></pre> + +<h4 id="creating-local-repository">Creating local repository<a class="headerlink" href="#creating-local-repository" title="Permanent link">¶</a></h4> +<ul> +<li> +<p>The directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:</p> +<ul> +<li> +<p>src contains Go source files organized into packages (one package per directory),</p> +</li> +<li> +<p>pkg contains package objects, and</p> +</li> +<li> +<p>bin contains executable commands.</p> +</li> +</ul> +</li> +</ul> +<p>The GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the newt tool repository.</p> +<pre><code class="no-highlight"> $ cd $HOME + $ mkdir -p dev/go + $ cd dev/go + $ export GOPATH=$PWD +</code></pre> + +<p>Note that you need to add export statements to ~/.bashrc (or equivalent) to export variables permanently.</p> +<ul> +<li>You are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.</li> +</ul> +<pre><code class="no-highlight"> $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt + $ ls + bin pkg src + $ ls src + git-wip-us.apache.org github.com gopkg.in +</code></pre> + +<ul> +<li>Check that newt is in place.</li> +</ul> +<pre><code class="no-highlight"> $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt + Godeps README.md coding_style.txt newt.go + LICENSE cli design.txt +</code></pre> + +<h4 id="building-the-newt-tool">Building the newt tool<a class="headerlink" href="#building-the-newt-tool" title="Permanent link">¶</a></h4> +<ul> +<li>You will use Go to run the newt.go program to build the newt tool. The command used is <code>go install</code> which compiles and writes the resulting executable to an output file named <code>newt</code>. It installs the results along with its dependencies in $GOPATH/bin.</li> +</ul> +<pre><code class="no-highlight"> $ cd $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt + $ go install + $ ls "$GOPATH"/bin/ + godep incubator-mynewt-newt.git newt +</code></pre> + +<ul> +<li>Try running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.</li> +</ul> +<p>Note: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in <code>export newt="go run $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/newt/go"</code> in your ~/.bashrc (or equivalent) and execute it by calling <code>$newt</code> at the prompt instead of <code>newt</code>. Here, you use <code>go run</code> which runs the compiled binary directly without producing an executable. </p> +<pre><code class="no-highlight"> $ newt version + Newt version: 1.0 + $ newt -h + Newt allows you to create your own embedded project based on the Mynewt + operating system. Newt provides both build and package management in a + single tool, which allows you to compose an embedded workspace, and set + of projects, and then build the necessary artifacts from those projects. + For more information on the Mynewt operating system, please visit + https://www.github.com/mynewt/documentation. + + Please use the newt help command, and specify the name of the command + you want help for, for help on how to use a specific command + + Usage: + newt [flags] + newt [command] + + Examples: + newt + newt help [<command-name>] + For help on <command-name>. If not specified, print this message. + + + Available Commands: + version Display the Newt version number. + target Set and view target information + egg Commands to list and inspect eggs on a nest + nest Commands to manage nests & clutches (remote egg repositories) + help Help about any command + + Flags: + -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. + + + Use "newt help [command]" for more information about a command. +</code></pre> + +<ul> +<li>Without creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the tool. </li> +</ul> + + </div> + </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> + + <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/eb0d660b/newt/newt_mac/index.html ---------------------------------------------------------------------- diff --git a/newt/newt_mac/index.html b/newt/newt_mac/index.html new file mode 100644 index 0000000..6a1903a --- /dev/null +++ b/newt/newt_mac/index.html @@ -0,0 +1,406 @@ +<!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.incubator.apache.org/newt/newt_mac/"> + <link rel="shortcut icon" href="../../img/favicon.ico"> + + <title>Install newt from source on Mac - 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="Install newt from source on Mac"> + + + <div 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="/documentation/">Docs</a> + </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 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/ +">Apache Mynewt 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=" + ./ +">Tutorials</a> + + <ul class="current-toc"> + + + + <li class="active"> + Install newt from source on Mac + </li> + + + + + + <li> + <a href="../newt_linux/">Install newt from source on Linux</a> + </li> + + + + </ul> + + </li> + + + + + <li><a href=" + ../newt_ops/ +">Manual</a> + + </li> + + + </ul> + + </li> + + + + + + + <li><a href=" + ../../newtmgr/overview/ +">Newt Manager Manual</a> + + </li> + + + + </ul> +</div></div> + + <div class="show-sidebar-container"> + <button class="show-sidebar">Docs Menu</button> + </div> + + <div class="col-md-9 documentation-viewer" role="main"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../..">Docs</a> »</li> + + + + <li>Newt Tool Manual »</li> + + + + <li>Tutorials »</li> + + + + <li>Install newt from source on Mac</li> + <li class="wy-breadcrumbs-aside"> + + </li> + </ul> + <hr/> +</div> + + <h2 id="building-newt-tool-on-your-mac">Building newt tool on your Mac<a class="headerlink" href="#building-newt-tool-on-your-mac" title="Permanent link">¶</a></h2> +<h3 id="getting-your-mac-ready">Getting your Mac Ready<a class="headerlink" href="#getting-your-mac-ready" title="Permanent link">¶</a></h3> +<p>If you want to build the newt tool from its source code you need to install </p> +<h4 id="installing-homebrew-to-ease-installs-on-os-x">Installing Homebrew to ease installs on OS X<a class="headerlink" href="#installing-homebrew-to-ease-installs-on-os-x" title="Permanent link">¶</a></h4> +<ul> +<li>Do you have Homebrew? If not, open a terminal on your Mac and paste the following at a Terminal prompt. It will ask you for your sudo password.</li> +</ul> +<pre><code class="no-highlight"> $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +</code></pre> + +<p>Alternatively, you can just extract (or <code>git clone</code>) Homebrew and install it to <code>/usr/local</code>.</p> +<h4 id="installing-go">Installing Go<a class="headerlink" href="#installing-go" title="Permanent link">¶</a></h4> +<ul> +<li> +<p>The directory structure must be first readied for using Go. Go code must be kept inside a workspace. A workspace is a directory hierarchy with three directories at its root:</p> +<ul> +<li> +<p>src contains Go source files organized into packages (one package per directory),</p> +</li> +<li> +<p>pkg contains package objects, and</p> +</li> +<li> +<p>bin contains executable commands.</p> +</li> +</ul> +<p>The GOPATH environment variable specifies the location of your workspace. First create a 'dev' directory and then a 'go' directory under it. Set the GOPATH environment variable to this directory where you will soon clone the newt tool repository.</p> +</li> +</ul> +<pre><code class="no-highlight"> $ cd $HOME + $ mkdir -p dev/go + $ cd dev/go + $ export GOPATH=`pwd` +</code></pre> + +<p>Note that you need to add export statements to ~/.bash_profile to export variables permanently. Don't forget to source the file for the change to go into effect.</p> +<pre><code class="no-highlight"> $ vi ~/.bash_profile + $ source ~/.bash_profile +</code></pre> + +<ul> +<li>Next you will use Homebrew to install Go. The summary message at the end of the installation should indicate that it is installed in the /usr/local/Cellar/go/ directory. You will use the Go command 'install' to compile and install packages (called eggs in the Mynewt world) and dependencies. </li> +</ul> +<pre><code class="no-highlight"> $ brew install go + ==> + ... + ... + ==> *Summary* + ðº /usr/local/Cellar/go/1.5.1: 5330 files, 273M +</code></pre> + +<p>Alternatively, you can download the Go package directly from (https://golang.org/dl/) instead of brewing it. Install it in /usr/local directory.</p> +<h4 id="creating-local-repository">Creating local repository<a class="headerlink" href="#creating-local-repository" title="Permanent link">¶</a></h4> +<ul> +<li>You are ready to download the newt tool repository. You will use Go to copy the directory (currently the asf incubator directory). Be patient as it may take a minute or two. Check the directories installed.</li> +</ul> +<pre><code class="no-highlight"> $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt + $ ls + bin pkg src + $ ls src + git-wip-us.apache.org github.com gopkg.in +</code></pre> + +<p>If you run into an <code>unrecognized import path</code> issue, go to the <code>~/dev/go/src/git-wip-us.apache.org/repos/asf</code> directory and create a symbolic link</p> +<pre><code class="no-highlight"> $ ln -s incubator-mynewt-newt.git incubator-mynewt-newt +</code></pre> + +<ul> +<li>Check that newt.go is in place.</li> +</ul> +<pre><code class="no-highlight"> $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt + Godeps README.md coding_style.txt newt.go + LICENSE cli design.txt +</code></pre> + +<h4 id="building-the-newt-tool">Building the Newt tool<a class="headerlink" href="#building-the-newt-tool" title="Permanent link">¶</a></h4> +<ul> +<li>You will use Go to run the newt.go program to build the newt tool. The command used is <code>go install</code> which compiles and writes the resulting executable to an output file named <code>newt</code>. It installs the results along with its dependencies in $GOPATH/bin.</li> +</ul> +<pre><code class="no-highlight"> $ cd $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt + $ go install + $ ls "$GOPATH"/bin/ + godep incubator-mynewt-newt.git newt +</code></pre> + +<ul> +<li>Try running newt using the compiled binary. For example, check for the version number by typing 'newt version'. See all the possible commands available to a user of newt by typing 'newt -h'.</li> +</ul> +<p>Note: If you are going to be be modifying the newt tool itself often and wish to compile the program every time you call it, you may want to store the command in a variable in your .bash_profile. So type in <code>export newt="go run $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/newt/go"</code> in your .bash_profile and execute it by calling <code>$newt</code> at the prompt instead of <code>newt</code>. Here, you use <code>go run</code> which runs the compiled binary directly without producing an executable. Don't forget to reload the updated bash profile by typing <code>source ~/.bash_profile</code> at the prompt! </p> +<pre><code class="no-highlight"> $ newt version + Newt version: 1.0 + $ newt -h + Newt allows you to create your own embedded project based on the Mynewt + operating system. Newt provides both build and package management in a + single tool, which allows you to compose an embedded workspace, and set + of projects, and then build the necessary artifacts from those projects. + For more information on the Mynewt operating system, please visit + https://www.github.com/mynewt/documentation. + + Please use the newt help command, and specify the name of the command + you want help for, for help on how to use a specific command + + Usage: + newt [flags] + newt [command] + + Examples: + newt + newt help [<command-name>] + For help on <command-name>. If not specified, print this message. + + + Available Commands: + version Display the Newt version number. + target Set and view target information + egg Commands to list and inspect eggs on a nest + nest Commands to manage nests & clutches (remote egg repositories) + help Help about any command + + Flags: + -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. + + + Use "newt help [command]" for more information about a command. +</code></pre> + +<ul> +<li>Without creating a project repository you can't do a whole lot with the Newt tool. So you'll have to wait till you have downloaded a nest to try out the tool. </li> +</ul> + + </div> + </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> + + <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/eb0d660b/newt/newt_ops/index.html ---------------------------------------------------------------------- diff --git a/newt/newt_ops/index.html b/newt/newt_ops/index.html index 36fe167..9acab02 100644 --- a/newt/newt_ops/index.html +++ b/newt/newt_ops/index.html @@ -131,19 +131,33 @@ <li><a href=" + ../newt_intro/ +">Newt Tool Manual</a> + + <ul class="current-toc"> + + + <li> + <a href="../newt_intro/">Introduction</a> + </li> - ./ -">Newt Tool Manual</a> + + + + <li><a href=" + ../newt_mac/ +">Tutorials</a> - <ul class="current-toc"> + </li> + <li><a href=" ./ -">Newt Tool</a> +">Manual</a> <ul class="current-toc"> @@ -157,22 +171,22 @@ - <li> - <a href="../newt_tool_reference/">Command list</a> - </li> - - - - </ul> + <li><a href=" + ../command_list/newt_app/ +">Command list</a> </li> - <li><a href=" - ../packaging/dist/ -">Packaging it</a> + <li> + <a href="../packaging/dist/">Creating Packages</a> + </li> + + + + </ul> </li> @@ -212,7 +226,7 @@ - <li>Newt Tool »</li> + <li>Manual »</li> @@ -235,7 +249,7 @@ <pre><code class="no-highlight"> newt egg install -b <branchname> <eggname> </code></pre> -<p>In addition to the newt tool <a href="../newt_tool_reference/">reference</a> in this documentation set, command-line help is available for each command (and child command). Simply use the flag <code>-h</code> or <code>--help</code> as shown below:</p> +<p>In addition to the newt tool <a href="../newt/newt_tool_reference.md">reference</a> in this documentation set, command-line help is available for each command (and child command). Simply use the flag <code>-h</code> or <code>--help</code> as shown below:</p> <pre><code class="no-highlight"> $ newt target export --help Export build targets from the current nest, and print them to standard output. If the -a (or -export-all) option is specified, http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/newt/newt_tool_reference/index.html ---------------------------------------------------------------------- diff --git a/newt/newt_tool_reference/index.html b/newt/newt_tool_reference/index.html deleted file mode 100644 index 5e8a6c0..0000000 --- a/newt/newt_tool_reference/index.html +++ /dev/null @@ -1,805 +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.incubator.apache.org/newt/newt_tool_reference/"> - <link rel="shortcut icon" href="../../img/favicon.ico"> - - <title>Command list - 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="Command list"> - - - <div 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="/documentation/">Docs</a> - </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 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/ -">Apache Mynewt Manual</a> - - </li> - - - - - - - <li><a href=" - - - ../newt_ops/ - -">Newt Tool Manual</a> - - <ul class="current-toc"> - - - - <li><a href=" - ../newt_ops/ -">Newt Tool</a> - - <ul class="current-toc"> - - - - <li> - <a href="../newt_ops/">Command structure</a> - </li> - - - - - - <li class="active"> - Command list - </li> - - - - </ul> - - </li> - - - - - <li><a href=" - ../packaging/dist/ -">Packaging it</a> - - </li> - - - </ul> - - </li> - - - - - - - <li><a href=" - ../../newtmgr/overview/ -">Newt Manager Manual</a> - - </li> - - - - </ul> -</div></div> - - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - - <div class="col-md-9 documentation-viewer" role="main"> - <div role="navigation" aria-label="breadcrumbs navigation"> - <ul class="wy-breadcrumbs"> - <li><a href="../..">Docs</a> »</li> - - - - <li>Newt Tool Manual »</li> - - - - <li>Newt Tool »</li> - - - - <li>Command list</li> - <li class="wy-breadcrumbs-aside"> - - </li> - </ul> - <hr/> -</div> - - <h2 id="command-list">Command List<a class="headerlink" href="#command-list" title="Permanent link">¶</a></h2> -<h3 id="available-high-level-commands">Available high-level commands<a class="headerlink" href="#available-high-level-commands" title="Permanent link">¶</a></h3> -<pre><code class="no-highlight">version Display the Newt version number -help Help about any command -nest Commands to manage nests & clutches (remote egg repositories) -egg Commands to list and inspect eggs on a nest -target Set and view target information -</code></pre> - -<h3 id="version"><em>version</em><a class="headerlink" href="#version" title="Permanent link">¶</a></h3> -<h4 id="usage">Usage:<a class="headerlink" href="#usage" title="Permanent link">¶</a></h4> -<pre><code class="no-highlight"> newt version [flags] -</code></pre> - -<p>Flags:</p> -<pre><code class="no-highlight"> -h, --help=false: help for version -</code></pre> - -<p>Global Flags:</p> -<pre><code class="no-highlight"> -h, --help=false: help for newt -</code></pre> - -<p>Examples</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Usage</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>version</td> -<td>newt version</td> -<td>Displays the version of newt tool installed</td> -</tr> -</tbody> -</table> -<h3 id="help"><em>help</em><a class="headerlink" href="#help" title="Permanent link">¶</a></h3> -<h4 id="usage_1">Usage:<a class="headerlink" href="#usage_1" title="Permanent link">¶</a></h4> -<pre><code class="no-highlight"> newt help [input1] -</code></pre> - -<p>Flags:</p> -<pre><code class="no-highlight"> --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. -</code></pre> - -<p>Examples</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Usage</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>help</td> -<td>newt help target</td> -<td>Displays the help text for the newt command 'target'</td> -</tr> -<tr> -<td>help</td> -<td>newt help</td> -<td>Displays the help text for newt tool</td> -</tr> -</tbody> -</table> -<h3 id="nest"><em>nest</em><a class="headerlink" href="#nest" title="Permanent link">¶</a></h3> -<h4 id="usage_2">Usage:<a class="headerlink" href="#usage_2" title="Permanent link">¶</a></h4> -<pre><code class="no-highlight"> newt nest [command][flags] input1 input2... -</code></pre> - -<p>Available commands: </p> -<pre><code class="no-highlight"> create Create a new nest - generate-clutch Generate a clutch file from the eggs in the current directory - add-clutch Add a remote clutch, and put it in the current nest - list-clutches List the clutches installed in the current nest - show-clutch Show an individual clutch in the current nest -</code></pre> - -<p>Flags:</p> -<pre><code class="no-highlight"> -h, --help=false: help for nest -</code></pre> - -<p>Global Flags:</p> -<pre><code class="no-highlight"> -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. -</code></pre> - -<p>Description</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>create</td> -<td>Downloads the skeleton of a nest on your local machine from the optional <code>input2</code> nest url, if specified, and creates a new nest directory by the name of <code>input1</code>. If <code>input2</code> is not specified, then a default skeleton from the <code>tadpole</code> nest on Mynewt is downloaded. The command lays out a generic directory structure for the nest you are going to build under it and includes some default eggs in it.</td> -</tr> -<tr> -<td>generate-clutch</td> -<td>Takes a snapshot of the eggs in the current local directory and combines them into a clutch by the name of <code>input1</code> and with the url of <code>input2</code> and generates a standard output of the clutch details that can be redirected to a <code>.yml</code> clutch file. Typically the clutch file name is chosen to match the clutch name which means the standard output should be directed to a clutch file named <code>input1.yml</code></td> -</tr> -<tr> -<td>add-clutch</td> -<td>Downloads the clutch of the name <code>input1</code> from the master branch of the github repository <code>input2</code> into the current nest. A file named <code>input1.yml</code> file is added in the <code>.nest/clutches</code> subdirectory inside the current local nest. The <code>.nest/</code> directory structure is created automatically if it does not exist.</td> -</tr> -<tr> -<td>list-clutches</td> -<td>Lists all the clutches present in the current nest, including clutches that may have been added from other nests on github. The output shows all the remote clutch names and the total eggshells in each of the clutches.</td> -</tr> -<tr> -<td>show-clutch</td> -<td>Shows information about the clutch that has the name given in the <code>input1</code> argument. Output includes the clutch name, url, and all the constituent eggs with their version numbers.</td> -</tr> -</tbody> -</table> -<p>Command-specific flags</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Available flags</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>add-clutch</td> -<td>-b, --branch="<branch-name>"</td> -<td>Fetches the clutch file with name <code>input1</code> from the specified branch at <code>input1</code> url of the github repository. All subsequent egg installations will be done from that branch.</td> -</tr> -</tbody> -</table> -<p>Examples</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Usage</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>create</td> -<td>newt nest create test_project</td> -<td>Creates a new nest named "test_project " using the default skeleton0</td> -</tr> -<tr> -<td>create</td> -<td>newt nest create mynest <nest-url></td> -<td>Creates a new nest named "mynest" using the skeleton at the <nest-url> specified</td> -</tr> -<tr> -<td>generate-clutch</td> -<td>newt nest generate-clutch myclutch https://www.github.com/mynewt/larva > myclutch.yml</td> -<td>Takes a snapshot of the eggs in the current nest to form a clutch named myclutch with the url https://www.github.com/mynewt/larva. The output is written to a file named <code>myclutch.yml</code> and describes the properties and contents of the clutch (name, url, eggs).</td> -</tr> -<tr> -<td>add-clutch</td> -<td>newt nest add-clutch larva https://www.github.com/mynewt/larva</td> -<td>Adds the remote clutch named larva at www.github.com/mynewt/larva to the local nest.</td> -</tr> -<tr> -<td>list-clutches</td> -<td>newt nest list-clutches</td> -<td>Shows all the remote clutch description files that been downloaded into the current nest</td> -</tr> -<tr> -<td>show-clutch</td> -<td>newt nest show-clutch larva</td> -<td>Outputs the details of the clutch named larva such as the github url where the remote sits, the constituent eggs and their versions</td> -</tr> -</tbody> -</table> -<h3 id="egg"><em>egg</em><a class="headerlink" href="#egg" title="Permanent link">¶</a></h3> -<h4 id="usage_3">Usage:<a class="headerlink" href="#usage_3" title="Permanent link">¶</a></h4> -<pre><code class="no-highlight"> newt egg [command][flag] input1 input2 -</code></pre> - -<p>Available Commands: </p> -<pre><code class="no-highlight"> list List eggs in the current nest - checkdeps Check egg dependencies - hunt Search for egg from clutches - show Show the contents of an egg. - install Install an egg - remove Remove an egg -</code></pre> - -<p>Flags:</p> -<pre><code class="no-highlight"> -h, --help=false: help for egg - -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. -</code></pre> - -<p>Description</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>list</td> -<td>List all the eggs in the current nest. The output shows the name, version, path, and any additional attributes of each egg in the nest such as dependencies, capabilities, and linker scripts. The newt command gets the attributes of each egg from the corresponsing egg.yml description file.</td> -</tr> -<tr> -<td>checkdeps</td> -<td>Resolve all dependencies in the local nest. This command goes through all eggs currently installed, checks their dependencies, and prints any unresolved dependencies between eggs.</td> -</tr> -<tr> -<td>hunt</td> -<td>Hunts for an egg, specified by <code>input1</code>. The local nest, along with all remote nests (clutches) are searched. All matched eggs are shown along with the clutch informaton. Installed eggs are called out as such. The command can be invoked from anywhere in the nest.</td> -</tr> -<tr> -<td>show</td> -<td>Show the contents of the egg named <code>input2</code> found in the clutch named <code>input1</code>. The clutch name is optional; if only the egg name is given as the argument it is resolved using all the clutches installed in the current nest. If the egg is present in multiple clutches it will list all of them along with the clutch information for each.</td> -</tr> -<tr> -<td>install</td> -<td>Install the egg specified by <code>input2</code> from the clutch named <code>input1</code>. The command downloads the egg from the github repository using the URL in the clutch description file (typically donwloaded as 'input1@<branch-name>.yml' in .nest/clutches). It also downloads all the dependencies (constituent eggs) as decribed in the egg's description file ('egg.yml') and installs all of them. The clutch name is optional. If only the egg name is given as the argument, the command looks for the egg name in all the clutches in the local nest and installs accordingly. An egg is installed by this command only if it has not already been installed.</td> -</tr> -<tr> -<td>remove</td> -<td>Remove an egg named <code>input2</code> from clutch <code>input1</code>, if clutch is specified. Otherwise only one input required - that of the name of the egg to be removed from the local nest.</td> -</tr> -</tbody> -</table> -<p>Command-specific flags</p> -<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 eggs from the branch name or tag of the clutch specified</td> -</tr> -</tbody> -</table> -<p>Examples</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Usage</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>list</td> -<td>newt egg list</td> -<td>CList all of the eggs in the current nest and the details of the eggs.</td> -</tr> -<tr> -<td>checkdeps</td> -<td>newt egg checkdeps</td> -<td>Checks all the dependencies between eggs in the nest. Lists any unresolved dependencies.</td> -</tr> -<tr> -<td>hunt</td> -<td>newt egg hunt blinky</td> -<td>Hunts for the egg named 'blinky'. The command can be invoked from anywhere in the nest. Results show if the egg is installed and which clutch, if any, has the egg.</td> -</tr> -<tr> -<td>show</td> -<td>newt egg show larva libs/os</td> -<td>Show the contents of the egg named 'libs/os' in the clutch named larva. The contents are essentially derived from the egg's 'egg.yml' file.</td> -</tr> -<tr> -<td>install</td> -<td>newt egg install hw/bsp/stm32f3discovery</td> -<td>Downloads and installs the egg named "stm32f3discovery" (specified with its full path name inside the remote nest) along with all its dependencies from the remote nest on github. Since no clutch is specified, the URL for the remote nest in the clutch description file found in the local nest (in .nest/clutches for the project) is used.</td> -</tr> -<tr> -<td>remove</td> -<td>newt egg remove larva blinky</td> -<td>Removes the egg named blinky only from the clutch named larva</td> -</tr> -<tr> -<td>remove</td> -<td>newt egg remove blinky</td> -<td>Removes the egg named blinky from the local nest</td> -</tr> -</tbody> -</table> -<h3 id="target"><em>target</em><a class="headerlink" href="#target" title="Permanent link">¶</a></h3> -<h4 id="usage_4">Usage:<a class="headerlink" href="#usage_4" title="Permanent link">¶</a></h4> -<p>Usage: </p> -<pre><code class="no-highlight"> newt target [command] input1 [flag1] [flag2] -</code></pre> - -<p>Available Commands: </p> -<pre><code class="no-highlight"> set Set target configuration variable - unset Unset target configuration variable - delete Delete target - create Create a target - show View target configuration variables - build Build target - test Test target - export Export target - import Import target - download Download image to target - debug Download image to target and start an openocd/gdb session -</code></pre> - -<p>Flags:</p> -<pre><code class="no-highlight"> -h, --help=false: help for target -</code></pre> - -<p>Global Flags:</p> -<pre><code class="no-highlight"> -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. -</code></pre> - -<p>Description</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Explanation</th> -</tr> -</thead> -<tbody> -<tr> -<td>set</td> -<td>Set attributes of the target. Currently the list of possible attributes are:<code>arch, compiler, compiler_def, project, bsp, egg, 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>egg=<egg name to be tested></code>. You cannot set both the project and egg for a target.</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 nest.</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> -</tr> -<tr> -<td>test</td> -<td>Test an egg on the target named <code>input1</code>. The egg 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 egg 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 eggs gets updated and each needs to be tested against a target. Alternatively, a script may be written for a series of tests on several eggs.</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>size</td> -<td>Outputs the RAM and flash consumption by the components of the specified target <code>input1</code>.</td> -</tr> -<tr> -<td>download</td> -<td>Downloads the binary executable <code><target-name>.elf.bin</code> to the board.</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> -</tr> -</tbody> -</table> -<p>Command-specific flags</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Available flags</th> -<th>Explanation</th> -</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> -</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 eggs or projects that the specified target doesn't reference are not touched.</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> -</tr> -<tr> -<td>import</td> -<td>-a, -import-all</td> -<td>Import all targets typed into standard input or redirected from a file.</td> -</tr> -</tbody> -</table> -<p>Examples</p> -<table> -<thead> -<tr> -<th>Sub-command</th> -<th>Usage</th> -<th>Explanation</th> -</tr> -</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>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 egg=libs/os</td> -<td>Tests the egg named 'libs/os' against the target named 'test_target'</td> -</tr> -<tr> -<td>export</td> -<td>newt target export -a > my_exports.txt</td> -<td>Export all build targets from the current nest, 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 nest, 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> -</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> -</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> -</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> -</tr> -</tbody> -</table> -<p>Example content for <code>in_targets.txt</code> file used for importing targets <code>test3</code> and <code>test4</code>. </p> -<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> - </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> - - <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/eb0d660b/newt/packaging/dist/index.html ---------------------------------------------------------------------- diff --git a/newt/packaging/dist/index.html b/newt/packaging/dist/index.html index a44be06..3f45eba 100644 --- a/newt/packaging/dist/index.html +++ b/newt/packaging/dist/index.html @@ -131,19 +131,24 @@ <li><a href=" - - - ../../newt_ops/ - + ../../newt_intro/ ">Newt Tool Manual</a> <ul class="current-toc"> + <li> + <a href="../../newt_intro/">Introduction</a> + </li> + + + + + <li><a href=" - ../../newt_ops/ -">Newt Tool</a> + ../../newt_mac/ +">Tutorials</a> </li> @@ -151,13 +156,30 @@ <li><a href=" - ./ -">Packaging it</a> + ../../newt_ops/ +">Manual</a> <ul class="current-toc"> + <li> + <a href="../../newt_ops/">Command structure</a> + </li> + + + + + + <li><a href=" + ../../command_list/newt_app/ +">Command list</a> + + </li> + + + + <li class="active"> Creating Packages </li> @@ -204,7 +226,7 @@ - <li>Packaging it »</li> + <li>Manual »</li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/newtmgr/overview/index.html ---------------------------------------------------------------------- diff --git a/newtmgr/overview/index.html b/newtmgr/overview/index.html index 3f48aa1..affecd1 100644 --- a/newtmgr/overview/index.html +++ b/newtmgr/overview/index.html @@ -9,7 +9,7 @@ <link rel="canonical" href="http://mynewt.incubator.apache.org/newtmgr/overview/"> <link rel="shortcut icon" href="../../img/favicon.ico"> - <title>Overview - Apache Mynewt</title> + <title>Introduction - 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"> @@ -40,7 +40,7 @@ </head> - <body class="Overview"> + <body class="Introduction"> <div class="navbar navbar-default navbar-fixed-top" role="navigation"> @@ -131,10 +131,7 @@ <li><a href=" - - - ../../newt/newt_ops/ - + ../../newt/newt_intro/ ">Newt Tool Manual</a> </li> @@ -153,25 +150,27 @@ <li class="active"> - Overview + Introduction </li> - <li> - <a href="../protocol/">Protocol</a> - </li> - + <li><a href=" + ../project-slinky/ +">Tutorials</a> + + </li> - <li> - <a href="../project-slinky/">Project Slinky</a> - </li> - + <li><a href=" + ../protocol/ +">Manual</a> + + </li> </ul> @@ -198,7 +197,7 @@ - <li>Overview</li> + <li>Introduction</li> <li class="wy-breadcrumbs-aside"> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/newtmgr/project-slinky/index.html ---------------------------------------------------------------------- diff --git a/newtmgr/project-slinky/index.html b/newtmgr/project-slinky/index.html index 773d472..31d577a 100644 --- a/newtmgr/project-slinky/index.html +++ b/newtmgr/project-slinky/index.html @@ -131,10 +131,7 @@ <li><a href=" - - - ../../newt/newt_ops/ - + ../../newt/newt_intro/ ">Newt Tool Manual</a> </li> @@ -153,18 +150,18 @@ <li> - <a href="../overview/">Overview</a> + <a href="../overview/">Introduction</a> </li> - <li> - <a href="../protocol/">Protocol</a> - </li> - - + <li><a href=" + ./ +">Tutorials</a> + + <ul class="current-toc"> @@ -178,6 +175,20 @@ </li> + + + + <li><a href=" + ../protocol/ +">Manual</a> + + </li> + + + </ul> + + </li> + </ul> @@ -197,6 +208,10 @@ <li>Newt Manager Manual »</li> + + <li>Tutorials »</li> + + <li>Project Slinky</li> <li class="wy-breadcrumbs-aside"> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/newtmgr/protocol/index.html ---------------------------------------------------------------------- diff --git a/newtmgr/protocol/index.html b/newtmgr/protocol/index.html index e35339d..555242b 100644 --- a/newtmgr/protocol/index.html +++ b/newtmgr/protocol/index.html @@ -131,10 +131,7 @@ <li><a href=" - - - ../../newt/newt_ops/ - + ../../newt/newt_intro/ ">Newt Tool Manual</a> </li> @@ -153,23 +150,32 @@ <li> - <a href="../overview/">Overview</a> + <a href="../overview/">Introduction</a> </li> - <li class="active"> - Protocol - </li> - + <li><a href=" + ../project-slinky/ +">Tutorials</a> + + </li> - <li> - <a href="../project-slinky/">Project Slinky</a> + <li><a href=" + ./ +">Manual</a> + + <ul class="current-toc"> + + + + <li class="active"> + Protocol </li> @@ -178,6 +184,11 @@ </li> + + </ul> + + </li> + </ul> @@ -197,6 +208,10 @@ <li>Newt Manager Manual »</li> + + <li>Manual »</li> + + <li>Protocol</li> <li class="wy-breadcrumbs-aside"> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/callout/callout/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/callout/callout/index.html b/os/core_os/callout/callout/index.html index 6b67be0..a52d2a4 100644 --- a/os/core_os/callout/callout/index.html +++ b/os/core_os/callout/callout/index.html @@ -389,10 +389,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -419,10 +420,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/callout/os_callout_func_init/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/callout/os_callout_func_init/index.html b/os/core_os/callout/os_callout_func_init/index.html index 8bc3315..b83dee1 100644 --- a/os/core_os/callout/os_callout_func_init/index.html +++ b/os/core_os/callout/os_callout_func_init/index.html @@ -433,10 +433,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -463,10 +464,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/callout/os_callout_init/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/callout/os_callout_init/index.html b/os/core_os/callout/os_callout_init/index.html index 0c4b04a..f1701b6 100644 --- a/os/core_os/callout/os_callout_init/index.html +++ b/os/core_os/callout/os_callout_init/index.html @@ -433,10 +433,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -463,10 +464,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/callout/os_callout_queued/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/callout/os_callout_queued/index.html b/os/core_os/callout/os_callout_queued/index.html index 7803c5a..92bfe7b 100644 --- a/os/core_os/callout/os_callout_queued/index.html +++ b/os/core_os/callout/os_callout_queued/index.html @@ -433,10 +433,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -463,10 +464,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/callout/os_callout_reset/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/callout/os_callout_reset/index.html b/os/core_os/callout/os_callout_reset/index.html index 22ecae8..bea8929 100644 --- a/os/core_os/callout/os_callout_reset/index.html +++ b/os/core_os/callout/os_callout_reset/index.html @@ -433,10 +433,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -463,10 +464,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/callout/os_callout_stop/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/callout/os_callout_stop/index.html b/os/core_os/callout/os_callout_stop/index.html index 24128f9..71e9d7e 100644 --- a/os/core_os/callout/os_callout_stop/index.html +++ b/os/core_os/callout/os_callout_stop/index.html @@ -433,10 +433,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -463,10 +464,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/context_switch/context_switch/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/context_switch/context_switch/index.html b/os/core_os/context_switch/context_switch/index.html index 8632da2..1ed25f7 100644 --- a/os/core_os/context_switch/context_switch/index.html +++ b/os/core_os/context_switch/context_switch/index.html @@ -389,10 +389,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -419,10 +420,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/context_switch/os_sched/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/context_switch/os_sched/index.html b/os/core_os/context_switch/os_sched/index.html index 1472c2d..47ecc09 100644 --- a/os/core_os/context_switch/os_sched/index.html +++ b/os/core_os/context_switch/os_sched/index.html @@ -473,10 +473,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -503,10 +504,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html b/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html index d95ef89..f1982fd 100644 --- a/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html +++ b/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html @@ -473,10 +473,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -503,10 +504,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/context_switch/os_sched_get_current_task/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/context_switch/os_sched_get_current_task/index.html b/os/core_os/context_switch/os_sched_get_current_task/index.html index f644e2a..0aa44d9 100644 --- a/os/core_os/context_switch/os_sched_get_current_task/index.html +++ b/os/core_os/context_switch/os_sched_get_current_task/index.html @@ -473,10 +473,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -503,10 +504,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/context_switch/os_sched_insert/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/context_switch/os_sched_insert/index.html b/os/core_os/context_switch/os_sched_insert/index.html index e2e2f35..4464485 100644 --- a/os/core_os/context_switch/os_sched_insert/index.html +++ b/os/core_os/context_switch/os_sched_insert/index.html @@ -473,10 +473,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -503,10 +504,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eb0d660b/os/core_os/context_switch/os_sched_next_task/index.html ---------------------------------------------------------------------- diff --git a/os/core_os/context_switch/os_sched_next_task/index.html b/os/core_os/context_switch/os_sched_next_task/index.html index 072328a..8e796b9 100644 --- a/os/core_os/context_switch/os_sched_next_task/index.html +++ b/os/core_os/context_switch/os_sched_next_task/index.html @@ -473,10 +473,11 @@ - <li> - <a href="../../../modules/elua/">Embedded Lua</a> - </li> - + <li><a href=" + ../../../modules/elua/elua/ +">Embedded Lua</a> + + </li> @@ -503,10 +504,7 @@ <li><a href=" - - - ../../../../newt/newt_ops/ - + ../../../../newt/newt_intro/ ">Newt Tool Manual</a> </li>