mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ad...@apache.org
Subject [01/10] incubator-mynewt-site git commit: Added documentation for mbuf. Added skeleton for mqueue. Closes pull request #21.
Date Thu, 03 Mar 2016 00:15:36 GMT
Repository: incubator-mynewt-site
Updated Branches:
  refs/heads/asf-site de96a1ccb -> 370712c13


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/370712c1/os/tutorials/project2/index.html
----------------------------------------------------------------------
diff --git a/os/tutorials/project2/index.html b/os/tutorials/project2/index.html
deleted file mode 100644
index 2ce8a87..0000000
--- a/os/tutorials/project2/index.html
+++ /dev/null
@@ -1,694 +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/os/tutorials/project2/">
-        <link rel="shortcut icon" href="../../../img/favicon.ico">
-
-	<title>Blinky on More Boards - 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="Blinky on More Boards">
-
-
-        <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="
-  ../../get_started/introduction/
-">Apache Mynewt Manual</a>
-    
-      <ul class="current-toc">
-          
-              
-  
-    <li>
-      <a href="../../get_started/introduction/">Introduction</a>
-    </li>
-  
-
-          
-              
-  
-  <li><a href="
-  ../../get_started/project1/
-">Get Started</a>
-    
-  </li>
-
-          
-              
-  
-  <li><a href="
-  ./
-">Tutorials</a>
-    
-      <ul class="current-toc">
-          
-              
-  
-    <li class="active">
-      Blinky on More Boards
-    </li>
-  
-
-          
-              
-  
-    <li>
-      <a href="../project3/">Unit Testing a Package</a>
-    </li>
-  
-
-          
-              
-  
-    <li>
-      <a href="../how_to_edit_docs/">Edit Docs</a>
-    </li>
-  
-
-          
-      </ul>
-    
-  </li>
-
-          
-              
-  
-  <li><a href="
-  
-  
-  
-  
-  ../../core_os/mynewt_os/
-
-
-">OS User Guide</a>
-    
-  </li>
-
-          
-              
-  
-  <li><a href="
-  
-  
-  ../../../network/ble/ble_intro/
-
-">Networking User Guide</a>
-    
-  </li>
-
-          
-      </ul>
-    
-  </li>
-
-        
-      
-        
-          
-  
-  <li><a href="
-  ../../../newt/newt_intro/
-">Newt Tool Manual</a>
-    
-  </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> &raquo;</li>
-    
-      
-        
-          <li>Apache Mynewt Manual &raquo;</li>
-        
-      
-        
-          <li>Tutorials &raquo;</li>
-        
-      
-    
-    <li>Blinky on More Boards</li>
-    <li class="wy-breadcrumbs-aside">
-      
-    </li>
-  </ul>
-  <hr/>
-</div>
-                        
-                            <h2 id="project-2-blinky-on-additional-boards">Project 2 - Blinky on additional boards<a class="headerlink" href="#project-2-blinky-on-additional-boards" title="Permanent link">&para;</a></h2>
-<h3 id="objective">Objective<a class="headerlink" href="#objective" title="Permanent link">&para;</a></h3>
-<p>The goal of this tutorial is to download a generic firmware skeleton ("bootstrap image") that applies to any hardware and then throw in additional applicable eggs to generate a build for a specific board. In the process you will be exposed to more Mynewt terms and Newt tool commands.</p>
-<p>The following target hardware chips are covered:</p>
-<ul>
-<li><a href="#stm32f303vc-mcu">STM32F303VC MCU</a> from STMicroelectronics</li>
-<li><a href="#nrf52-series">nRF52 Series</a> from Nordic Semiconductors </li>
-</ul>
-<h3 id="stm32f303vc-mcu">STM32F303VC MCU<a class="headerlink" href="#stm32f303vc-mcu" title="Permanent link">&para;</a></h3>
-<h4 id="hardware-needed">Hardware needed<a class="headerlink" href="#hardware-needed" title="Permanent link">&para;</a></h4>
-<ul>
-<li>Discovery kit with STM32F303VC MCU</li>
-<li>Laptop running Mac OS</li>
-</ul>
-<h4 id="step-by-step-instructions-to-build-image">Step by Step Instructions to build image<a class="headerlink" href="#step-by-step-instructions-to-build-image" title="Permanent link">&para;</a></h4>
-<ul>
-<li>The first step is to download the generic skeleton of the project. The eggs constituting the skeleton are not hardware architecture specific. The skeleton is maintained as a nest in a separate repository on Apache. You know it is a nest because there is a nest.yml file. </li>
-</ul>
-<pre><code class="no-highlight">        [user:~/dev]$ newt nest create test_project
-        Downloading nest skeleton from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-tadpole.git... ok!
-        Nest test_project successfully created in ~/dev/go/test_project
-
-        [user:~/dev]$ cd test_project/
-        [user:~/dev/test_project]$ ls
-        README.md   compiler    hw      libs    nest.yml
-</code></pre>
-
-<ul>
-<li>Next, the clutch of eggs named larva is added from the nest (also named larva) from another repository on Apache. This step simply downloads the clutch description file and does not actually install the eggs that constitute the clutch. The clutch description file (<code>clutch.yml</code>) will be used to check dependencies during the egg install to ensure completeness. It serves as a reference for all the eggs in the clutch that one can choose from and install.</li>
-</ul>
-<pre><code class="no-highlight">        [user:~/dev/test_project]$ newt nest add-clutch larva https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git
-        Downloading clutch.yml from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva.git/master... ok!
-        Verifying clutch.yml format...
-        ok!
-        Clutch larva successfully installed to Nest.
-</code></pre>
-
-<ul>
-<li>The next step is to install relevant eggs from the larva nest on github. The instructions assume that you know what application or project you are interested in (the blinky application, in this case), what hardware you are using (STM32F3DISCOVERY board, in this case) and hence, what board support package you need. </li>
-</ul>
-<pre><code class="no-highlight">
-        [user:~/dev/test_project]$ newt egg install project/blinky          
-        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!
-        Installing project/blinky
-        Installing libs/console/full
-        Installing libs/shell
-        Installation was a success!
-
-        [user:~/dev/test_project]$ newt egg install hw/bsp/stm32f3discovery
-        Downloading larva from https://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/master... ok!
-        Installing hw/bsp/stm32f3discovery
-        Installing hw/mcu/stm/stm32f3xx
-        Installing libs/cmsis-core
-        Installing compiler/arm-none-eabi-m4
-        Installation was a success!
-</code></pre>
-
-<ul>
-<li>It's time to create a target for the project and define the target attributes. </li>
-</ul>
-<pre><code class="no-highlight">        [user:~/dev/test_project]$ newt target create blink_f3disc
-        Creating target blink_f3disc
-        Target blink_f3disc successfully created!
-
-        [user:~/dev/test_project]$ newt target set blink_f3disc project=blinky
-        Target blink_f3disc successfully set project to blinky
-
-        [user:~/dev/test_project]$ newt target set blink_f3disc bsp=hw/bsp/stm32f3discovery
-        Target blink_f3disc successfully set bsp to hw/bsp/stm32f3discovery
-
-        [user:~/dev/test_project]$ newt target set blink_f3disc compiler_def=debug
-        Target blink_f3disc successfully set compiler_def to debug
-
-        [user:~/dev/test_project]$ newt target set blink_f3disc compiler=arm-none-eabi-m4
-        Target blink_f3disc successfully set compiler to arm-none-eabi-m4
-
-        [user:~/dev/test_project]$ newt target set blink_f3disc arch=cortex_m4
-        Target blink_f3disc successfully set arch to cortex_m4
-
-        [user:~/dev/test_project]$ newt target show blink_f3disc
-        blink_f3disc
-            arch: cortex_m4
-            project: blinky
-            bsp: hw/bsp/stm32f3discovery
-            compiler_def: debug
-            compiler: arm-none-eabi-m4
-            name: blink_f3disc
-</code></pre>
-
-<ul>
-<li>
-<p>Next, you get to build the target and generate an executable that can then be uploaded to the board. The STM32F3DISCOVERY board includes an ST-LINK/V2 embedded debug tool interface that will be used to program/debug the board. To program the MCU on the board, simply plug in the two jumpers on CN4, as shown in the picture in red. If you want to learn more about the board you will find the User Manual at <a href="http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf">http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf</a></p>
-</li>
-<li>
-<p><img alt="STMdiscovery" src="../pics/STM32f3discovery_connector.png" /></p>
-</li>
-</ul>
-<pre><code class="no-highlight">        [user:~/dev/test_project]$ newt target build blink_f3disc
-        Building target blink_f3disc (project = blinky)
-        Compiling case.c
-        Compiling suite.c
-        Compiling testutil.c
-        Compiling testutil_arch_arm.c
-        Archiving libtestutil.a
-        Compiling os.c
-        Compiling os_callout.c
-        Compiling os_eventq.c
-        Compiling os_heap.c
-        Compiling os_mbuf.c
-        Compiling os_mempool.c
-        Compiling os_mutex.c
-        Compiling os_sanity.c
-        Compiling os_sched.c
-        Compiling os_sem.c
-        Compiling os_task.c
-        Compiling os_time.c
-        Compiling os_arch_arm.c
-        Assembling HAL_CM4.s
-        Assembling SVC_Table.s
-        Archiving libos.a
-        Compiling hal_gpio.c
-        Compiling stm32f3xx_hal_gpio.c
-        Archiving libstm32f3xx.a
-        Compiling cmsis_nvic.c
-        Compiling libc_stubs.c
-        Compiling os_bsp.c
-        Compiling sbrk.c
-        Compiling system_stm32f3xx.c
-        Assembling startup_stm32f303xc.s
-        Archiving libstm32f3discovery.a
-        Compiling main.c
-        Building project blinky
-        Linking blinky.elf
-        Successfully run!
-</code></pre>
-
-<ul>
-<li>Finally, you have to download the image on to the board. You will see a blue light start to blink.</li>
-</ul>
-<pre><code class="no-highlight">        [user:~/dev/test_project]$ newt target download blink_f3disc
-        Downloading with /Users/user/dev/test_project/hw/bsp/stm32f3discovery/stm32f3discovery_download.sh
-</code></pre>
-
-<h3 id="nrf52-series">nRF52 Series<a class="headerlink" href="#nrf52-series" title="Permanent link">&para;</a></h3>
-<h4 id="hardware-needed_1">Hardware needed<a class="headerlink" href="#hardware-needed_1" title="Permanent link">&para;</a></h4>
-<ul>
-<li>nRF52 Development Kit</li>
-<li>Laptop running Mac OS</li>
-</ul>
-<h4 id="step-by-step-instructions-to-build-image_1">Step by Step Instructions to build image<a class="headerlink" href="#step-by-step-instructions-to-build-image_1" title="Permanent link">&para;</a></h4>
-<ul>
-<li>The first step is to download the generic skeleton of the project. The eggs installed are not hardware architecture specific.</li>
-</ul>
-<pre><code class="no-highlight">        []user@~/dev]$ newt nest create nordic_blinky
-        Downloading nest skeleton from https://www.github.com/mynewt/tadpole... ok!
-        Nest nordic_blinky successfully created in ~dev/nordic_blinky
-
-        user@~/dev$ cd nordic_blinky/
-</code></pre>
-
-<ul>
-<li>Then, the clutch of eggs named larva is added from the nest (also named larva) on the github. This step simply downloads the clutch description file and does not actually install the eggs that constitute the clutch. The clutch description file (<code>clutch.yml</code>) will be used to check dependencies during the egg install to ensure completeness. It serves as a reference for all the eggs in the clutch that one can choose from and install.</li>
-</ul>
-<pre><code class="no-highlight">        []user@~/dev/nordic_blinky]$ newt nest add-clutch larva https://github.com/mynewt/larva
-        Downloading clutch.yml from https://github.com/mynewt/larva/master... ok!
-        Verifying clutch.yml format...ok!
-        Clutch larva successfully installed to Nest.
-</code></pre>
-
-<ul>
-<li>The next step is to install relevant eggs from the larva nest on github. The instructions assume that you know what application or project you are interested in (the blinky application, in this case), what hardware you are using (STM32F3DISCOVERY board, in this case) and hence, what board support package you need. </li>
-</ul>
-<pre><code class="no-highlight">        [user@~/dev/nordic_blinky]$ newt egg install project/blinky 
-        Downloading larva from https://github.com/mynewt/larva//master... ok!
-        Installing project/blinky
-        Installation was a success!
-
-
-        [user@~/dev/nordic_blinky]$ newt egg install hw/bsp/nrf52pdk
-        Downloading larva from https://github.com/mynewt/larva//master... ok!
-        Installing hw/bsp/nrf52pdk
-        Installing hw/mcu/nordic/nrf52xxx
-        Installing libs/cmsis-core
-        Installing compiler/arm-none-eabi-m4
-        Installation was a success!
-</code></pre>
-
-<ul>
-<li>It's time to create a target for the project and define the target attributes. </li>
-</ul>
-<pre><code class="no-highlight">        [user@~/dev/nordic_blinky]$ newt target create blink_nordic
-        Creating target blink_nordic
-        Target blink_nordic successfully created!
-        [user@~/dev/nordic_blinky]$ newt target set blink_nordic project=blinky
-        Target blink_nordic successfully set project to blinky
-        [user@~/dev/nordic_blinky]$ newt target set blink_nordic bsp=hw/bsp/nrf52pdk
-        Target blink_nordic successfully set bsp to hw/bsp/nrf52pdk
-        [user@~/dev/nordic_blinky]$ newt target set blink_nordic compiler_def=debug
-        Target blink_nordic successfully set compiler_def to debug
-        [user@~/dev/nordic_blinky]$ newt target set blink_nordic compiler=arm-none-eabi-m4
-        Target blink_nordic successfully set compiler to arm-none-eabi-m4
-        [user@~/dev/nordic_blinky]$ newt target set blink_nordic arch=cortex_m4
-        Target blink_nordic successfully set arch to cortex_m4
-        [user@~/dev/nordic_blinky]$ newt target show
-        blink_nordic
-            compiler: arm-none-eabi-m4
-            name: blink_nordic
-            arch: cortex_m4
-            project: blinky
-            bsp: hw/bsp/nrf52pdk
-            compiler_def: debug
-</code></pre>
-
-<ul>
-<li>Finally, you get to build the target and generate an executable that can now be uploaded to the board via the on-board SEGGER J-Link debugger. </li>
-</ul>
-<pre><code class="no-highlight">        [user@~/dev/nordic_blinky]$ newt target build blink_nordic
-        Building target blink_nordic (project = blinky)
-        Compiling case.c
-        Compiling suite.c
-        Compiling testutil.c
-        Compiling testutil_arch_arm.c
-        Archiving libtestutil.a
-        Compiling os.c
-        Compiling os_callout.c
-        Compiling os_eventq.c
-        Compiling os_heap.c
-        Compiling os_mbuf.c
-        Compiling os_mempool.c
-        Compiling os_mutex.c
-        Compiling os_sanity.c
-        Compiling os_sched.c
-        Compiling os_sem.c
-        Compiling os_task.c
-        Compiling os_time.c
-        Compiling os_arch_arm.c
-        Assembling HAL_CM4.s
-        Assembling SVC_Table.s
-        Archiving libos.a
-        Compiling hal_cputime.c
-        Compiling hal_gpio.c
-        Compiling hal_uart.c
-        Archiving libnrf52xxx.a
-        Compiling cmsis_nvic.c
-        Compiling hal_bsp.c
-        Compiling libc_stubs.c
-        Compiling os_bsp.c
-        Compiling sbrk.c
-        Compiling system_nrf52.c
-        Assembling gcc_startup_nrf52.s
-        Archiving libnrf52pdk.a
-        Compiling main.c
-        Building project blinky
-        Linking blinky.elf
-        Successfully run!
-</code></pre>
-
-<ul>
-<li>
-<p>In order to be able to communicate with the SEGGER J-Link debugger on the dev board, you have to download and install the J-Link GDB Server software on to your laptop. You may download the "Software and documentation pack for Mac OS X" from <a href="https://www.segger.com/jlink-software.html">https://www.segger.com/jlink-software.html</a>. The command line version of the server is used in the steps below. </p>
-</li>
-<li>
-<p>Open a new terminal and start a J-Link session.</p>
-</li>
-</ul>
-<pre><code class="no-highlight">        [user@~/dev/nordic_blinky/project/blinky/bin]$ which JLinkGDBServer
-        /usr/local/bin/JLinkGDBServer
-        [user@~/dev/nordic_blinky/project/blinky/bin]$ JLinkGDBServer -if SWD
-        SEGGER J-Link GDB Server V5.02f Command Line Version
-
-        JLinkARM.dll V5.02f (DLL compiled Oct  2 2015 20:55:03)
-
-        -----GDB Server start settings-----
-        GDBInit file:                  none
-        GDB Server Listening port:     2331
-        SWO raw output listening port: 2332
-        Terminal I/O port:             2333
-        Accept remote connection:      yes
-        Generate logfile:              off
-        Verify download:               off
-        Init regs on start:            off
-        Silent mode:                   off
-        Single run mode:               off
-        Target connection timeout:     0 ms
-        ------J-Link related settings------
-        J-Link Host interface:         USB
-        J-Link script:                 none
-        J-Link settings file:          none
-        ------Target related settings------
-        Target device:                 unspecified
-        Target interface:              SWD
-        Target interface speed:        1000kHz
-        Target endian:                 little
-
-        Connecting to J-Link...
-        J-Link is connected.
-        Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Aug 28 2015 19:26:24
-        Hardware: V1.00
-        S/N: 682371959
-        Checking target voltage...
-        Target voltage: 3.30 V
-        Listening on TCP/IP port 2331
-        Connecting to target...Connected to target
-        Waiting for GDB connection...Connected to 127.0.0.1
-</code></pre>
-
-<ul>
-<li>You need a configuration file for the GDB session to be opened correctly and the image ("blinky.elf") you built for this target downloaded to flash. A sample config script is given below. Alternatively, you could choose to type each command at the gdb prompt.</li>
-</ul>
-<pre><code class="no-highlight">         [user@~/dev/nordic_blinky/project/blinky/bin/blink_nordic]$ cat jlink-gdb.cfg 
-         echo ***Setting up the environment for debugging gdb.***\n
-         set complaints 1
-         set prompt (gdb) 
-         set endian little
-         echo \n*** Set target charset ASCII\n
-         set target-charset ASCII
-         echo \n*** Connecting over port #2331 ***\n
-         target remote localhost:2331
-         echo \n*** Enable flash write and set device to nrf52 ***\n
-         monitor flash download=1
-         monitor flash device=nRF52
-         echo \n*** loading blinky.elf ***\n
-         load ~/dev/nordic_blinky/project/blinky/bin/blink_nordic/blinky.elf 
-         symbol-file ~/dev/nordic_blinky/project/blinky/bin/blink_nordic/blinky.elf
-         echo \n*** Resetting target ***\n
-         monitor reset
-         echo \n*** Halting target ***\n
-         monitor halt
-</code></pre>
-
-<ul>
-<li>Start the gdb session and monitor that it loads the image, resets the target, and halts for a command to continue. </li>
-</ul>
-<pre><code class="no-highlight">        [user@~/dev/nordic_blinky/project/blinky/bin/blink_nordic]$ arm-none-eabi-gdb -x ~/dev/nordic_blinky/project/blinky/bin/blink_nordic/jlink-gdb.cfg
-
-        GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs
-        Copyright (C) 2014 Free Software Foundation, Inc.
-        License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
-        This is free software: you are free to change and redistribute it.
-        There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;
-        and &quot;show warranty&quot; for details.
-        This GDB was configured as &quot;--host=x86_64-apple-darwin10 --target=arm-none-eabi&quot;.
-        Type &quot;show configuration&quot; for configuration details.
-        For bug reporting instructions, please see:
-        &lt;http://www.gnu.org/software/gdb/bugs/&gt;.
-        Find the GDB manual and other documentation resources online at:
-        &lt;http://www.gnu.org/software/gdb/documentation/&gt;.
-        For help, type &quot;help&quot;.
-        Type &quot;apropos word&quot; to search for commands related to &quot;word&quot;.
-
-        ***Setting up the environment for debugging gdb.***
-        The target is assumed to be little endian
-
-        *** Set target charset ASCII
-
-        *** Connecting over port #2331 ***
-        0x00003c34 in ?? ()
-
-        *** Enable flash write and set device to nrf52 ***
-        Flash download enabled
-        Selecting device: nRF52
-
-        *** loading blinky.elf ***
-        Loading section .text, size 0x5c84 lma 0x0
-        Loading section .ARM.extab, size 0x24 lma 0x5c84
-        Loading section .ARM.exidx, size 0xd8 lma 0x5ca8
-        Loading section .data, size 0x8f8 lma 0x5d80
-        Start address 0x48c, load size 26232
-        Transfer rate: 12808 KB/sec, 2914 bytes/write.
-        During symbol reading, unexpected overlap between:
-         (A) section `.text' from `~/dev/nordic_blinky/project/blinky/bin/blink_nordic/blinky.elf' [0x0, 0x5c84)
-         (B) section `*COM*' from `~/dev/nordic_blinky/project/blinky/bin/blink_nordic/blinky.elf' [0x0, 0x0).
-        Will ignore section B.
-
-        *** Resetting target ***
-        Resetting target
-
-        *** Halting target ***
-</code></pre>
-
-<ul>
-<li>Type 'c' to continue. The LED on the board will start to blink. You will also see some activity in the terminal showing the open J-Link GDB server connection. The LED will continue to blink after you quit out of that connection.</li>
-</ul>
-<pre><code class="no-highlight">        (gdb) c
-        Continuing.
-</code></pre>
-                        
-                    </div>
-                </div>
-            
-            <div class="row">    
-                <footer>
-    <div class="row">
-        <div class="col-md-12">
-            
-                <p class="copyright">Copyright &copy; 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/370712c1/os/tutorials/project3/index.html
----------------------------------------------------------------------
diff --git a/os/tutorials/project3/index.html b/os/tutorials/project3/index.html
deleted file mode 100644
index 64d0156..0000000
--- a/os/tutorials/project3/index.html
+++ /dev/null
@@ -1,309 +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/os/tutorials/project3/">
-        <link rel="shortcut icon" href="../../../img/favicon.ico">
-
-	<title>Unit Testing a Package - 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="Unit Testing a Package">
-
-
-        <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="
-  ../../get_started/introduction/
-">Apache Mynewt Manual</a>
-    
-      <ul class="current-toc">
-          
-              
-  
-    <li>
-      <a href="../../get_started/introduction/">Introduction</a>
-    </li>
-  
-
-          
-              
-  
-  <li><a href="
-  ../../get_started/project1/
-">Get Started</a>
-    
-  </li>
-
-          
-              
-  
-  <li><a href="
-  ../project2/
-">Tutorials</a>
-    
-      <ul class="current-toc">
-          
-              
-  
-    <li>
-      <a href="../project2/">Blinky on More Boards</a>
-    </li>
-  
-
-          
-              
-  
-    <li class="active">
-      Unit Testing a Package
-    </li>
-  
-
-          
-              
-  
-    <li>
-      <a href="../how_to_edit_docs/">Edit Docs</a>
-    </li>
-  
-
-          
-      </ul>
-    
-  </li>
-
-          
-              
-  
-  <li><a href="
-  
-  
-  
-  
-  ../../core_os/mynewt_os/
-
-
-">OS User Guide</a>
-    
-  </li>
-
-          
-              
-  
-  <li><a href="
-  
-  
-  ../../../network/ble/ble_intro/
-
-">Networking User Guide</a>
-    
-  </li>
-
-          
-      </ul>
-    
-  </li>
-
-        
-      
-        
-          
-  
-  <li><a href="
-  ../../../newt/newt_intro/
-">Newt Tool Manual</a>
-    
-  </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> &raquo;</li>
-    
-      
-        
-          <li>Apache Mynewt Manual &raquo;</li>
-        
-      
-        
-          <li>Tutorials &raquo;</li>
-        
-      
-    
-    <li>Unit Testing a Package</li>
-    <li class="wy-breadcrumbs-aside">
-      
-    </li>
-  </ul>
-  <hr/>
-</div>
-                        
-                            <h2 id="how-to-test-an-egg">How to Test an Egg<a class="headerlink" href="#how-to-test-an-egg" title="Permanent link">&para;</a></h2>
-                        
-                    </div>
-                </div>
-            
-            <div class="row">    
-                <footer>
-    <div class="row">
-        <div class="col-md-12">
-            
-                <p class="copyright">Copyright &copy; 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/370712c1/os/tutorials/unit_test/index.html
----------------------------------------------------------------------
diff --git a/os/tutorials/unit_test/index.html b/os/tutorials/unit_test/index.html
new file mode 100644
index 0000000..9aa2fcc
--- /dev/null
+++ b/os/tutorials/unit_test/index.html
@@ -0,0 +1,325 @@
+<!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/os/tutorials/unit_test/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>Unit Testing a Package - 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="Unit Testing a Package">
+
+
+        <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="
+  ../../get_started/introduction/
+">Apache Mynewt Manual</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../../get_started/introduction/">Introduction</a>
+    </li>
+  
+
+          
+              
+  
+  <li><a href="
+  ../../get_started/project1/
+">Get Started</a>
+    
+  </li>
+
+          
+              
+  
+  <li><a href="
+  ../STM32F303/
+">Tutorials</a>
+    
+      <ul class="current-toc">
+          
+              
+  
+    <li>
+      <a href="../STM32F303/">Blinky on STM32F303</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../nRF52/">Blinky on nRF52</a>
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../arduino_zero/">Blinky on Arduino Zero</a>
+    </li>
+  
+
+          
+              
+  
+    <li class="active">
+      Unit Testing a Package
+    </li>
+  
+
+          
+              
+  
+    <li>
+      <a href="../how_to_edit_docs/">Edit Docs</a>
+    </li>
+  
+
+          
+      </ul>
+    
+  </li>
+
+          
+              
+  
+  <li><a href="
+  
+  
+  
+  
+  ../../core_os/mynewt_os/
+
+
+">OS User Guide</a>
+    
+  </li>
+
+          
+              
+  
+  <li><a href="
+  
+  
+  ../../../network/ble/ble_intro/
+
+">Networking User Guide</a>
+    
+  </li>
+
+          
+      </ul>
+    
+  </li>
+
+        
+      
+        
+          
+  
+  <li><a href="
+  ../../../newt/newt_intro/
+">Newt Tool Manual</a>
+    
+  </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> &raquo;</li>
+    
+      
+        
+          <li>Apache Mynewt Manual &raquo;</li>
+        
+      
+        
+          <li>Tutorials &raquo;</li>
+        
+      
+    
+    <li>Unit Testing a Package</li>
+    <li class="wy-breadcrumbs-aside">
+      
+    </li>
+  </ul>
+  <hr/>
+</div>
+                        
+                            <h2 id="how-to-test-an-egg">How to Test an Egg<a class="headerlink" href="#how-to-test-an-egg" title="Permanent link">&para;</a></h2>
+                        
+                    </div>
+                </div>
+            
+            <div class="row">    
+                <footer>
+    <div class="row">
+        <div class="col-md-12">
+            
+                <p class="copyright">Copyright &copy; 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



Mime
View raw message