Repository: incubator-mynewt-site Updated Branches: refs/heads/asf-site 09ce71d28 -> dfb65f629
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/dfb65f62/os/tutorials/olimex/index.html ---------------------------------------------------------------------- diff --git a/os/tutorials/olimex/index.html b/os/tutorials/olimex/index.html index a8cc0d8..a5ca518 100644 --- a/os/tutorials/olimex/index.html +++ b/os/tutorials/olimex/index.html @@ -201,9 +201,7 @@ - <li><a href=" - ../../get_started/native_tools/ -">Get Started</a> + <li ><a href="../../get_started/get_started/">Get Started</a></li> </li> @@ -225,18 +223,18 @@ - <li><a href=" - ./ -">Tutorials</a> + <li ><a href="../tutorials/">Tutorials</a></li> <ul class="current-toc"> + + - <li class="active"> - Blinky on Olimex + <li> + <a href="../arduino_zero/">Blinky on Arduino Zero</a> </li> @@ -245,8 +243,8 @@ - <li> - <a href="../STM32F303/">Blinky on STM32F303</a> + <li class="active"> + Blinky on Olimex </li> @@ -256,7 +254,7 @@ <li> - <a href="../nRF52/">Blinky on nRF52</a> + <a href="../STM32F303/">Blinky on STM32F303</a> </li> @@ -266,7 +264,7 @@ <li> - <a href="../arduino_zero/">Blinky on Arduino Zero</a> + <a href="../nRF52/">Blinky on nRF52</a> </li> @@ -276,7 +274,7 @@ <li> - <a href="../unit_test/">Unit Testing a Package</a> + <a href="../unit_test/">Write a Test Suite for a Package</a> </li> @@ -286,7 +284,7 @@ <li> - <a href="../air_quality_sensor/">Adding an air-quality sensor</a> + <a href="../air_quality_sensor/">Air-quality Sensor project</a> </li> @@ -439,7 +437,7 @@ - <li>» Tutorials</li> + <li>» <a href="../tutorials/">Tutorials</a></li> @@ -509,15 +507,11 @@ or just follow the commands below.</p> <p><br></p> <h4 id="create-a-target">Create a target<a class="headerlink" href="#create-a-target" title="Permanent link">¶</a></h4> -<p>Change directory to ~/dev/core directory and define the <em>blinky</em> target inside core, using the <em>newt</em> tool. Starting with the target name, assign specific aspects of the project, as shown below, to pull the appropriate packages and build the right bundle or list for the board. For example, we set the build_profile, board support package (bsp), and app.</p> +<p>Change directory to ~/dev/myproj directory and define the <em>blinky</em> target inside myproj, using the <em>newt</em> tool. Starting with the target name, assign specific aspects of the project, as shown below, to pull the appropriate packages and build the right bundle or list for the board. For example, we set the build_profile, board support package (bsp), and app.</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ newt target create blinky - Target targets/blinky successfully created $ newt target set blinky build_profile=debug - Target targets/blinky successfully set target.compiler_def to debug $ newt target set blinky bsp=@apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard - Target targets/blinky successfully set target.bsp to ... - $ newt target set blinky app=@apache-mynewt-core/apps/blinky - Target targets/blinky successfully set target.app to apps/blinky + $ newt target set blinky app=apps/blinky $ newt target show blinky targets/boot_olimex app=apps/blinky @@ -531,19 +525,19 @@ or just follow the commands below.</p> <p>Next, let's build the image with the above values assigned. By default, the linker script within the <code>hw/bsp/olimex_stm32-e407_devboard</code> package builds an image for flash memory, which we don't want; instead, we want an image for the SRAM, so you need to switch that script with <code>run_from_sram.ld</code>. </p> <p><font color="red"> (We are working to simplify this scheme whereby an executable for a project will correctly elect the linker scripts and generate the relevant image. For example, the scheme will key on project identity such as bootloader, RAM, Flash (default) and build accordingly.) </font>.</p> -<p>Afer you build the target, you can find the executable <em>blinky.elf</em> in the project directory <em>~/dev/core/bin/blinky/apps/blinky/.</em> </p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ cd ~/dev/core/hw/bsp/olimex_stm32-e407_devboard +<p>Afer you build the target, you can find the executable <em>blinky.elf</em> in the project directory <em>~/dev/myproj/bin/blinky/apps/blinky/.</em> </p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ cd ~/dev/myproj/repos/apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard/ $ diff olimex_stm32-e407_devboard.ld run_from_sram.ld (some diff will be displayed) $ cp run_from_sram.ld olimex_stm32-e407_devboard.ld - $ cd ~/dev/core + $ cd ~/dev/myproj $ newt build blinky Compiling case.c Compiling suite.c ... Linking blinky.elf - App successfully built:~/dev/core/bin/blinky/apps/blinky/blinky.elf - $ ls bin/blinky/apps/blinky/ + App successfully built:~/dev/myproj/bin/blinky/apps/blinky/blinky.elf + $ ls ~/dev/myproj/bin/blinky/apps/blinky/ blinky.elf blinky.elf.bin blinky.elf.cmd blinky.elf.lst blinky.elf.map </pre></div> @@ -599,20 +593,20 @@ To locate the bootloader, the board searches in three places: User Flash Memory, <p><br></p> <p>Check the value of the msp (main service pointer) register. If it is not 0x10010000 as indicated above, you will have to manually set it after you open the gdb tool and load the image on it. For example, </p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> (gdb) set $msp=0x10010000 +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> (gdb) set $msp=0x10010000 </pre></div> <p><br></p> <p>Now load the image and type "c" or "continue" from the GNU debugger. </p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> (gdb) load ~/dev/core/bin/blinky/apps/blinky/blinky.elf - Loading section .text, size 0x16b88 lma 0x20000000 - Loading section .ARM.exidx, size 0x18 lma 0x20016b88 - Loading section .data, size 0x9ec lma 0x20016ba0 - Start address 0x200004b8, load size 95628 - Transfer rate: 74 KB/sec, 3825 bytes/write. - (gdb) c - Continuing. +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> (gdb) load ~/dev/myproj/bin/blinky/apps/blinky/blinky.elf + Loading section .text, size 0x16b88 lma 0x20000000 + Loading section .ARM.exidx, size 0x18 lma 0x20016b88 + Loading section .data, size 0x9ec lma 0x20016ba0 + Start address 0x200004b8, load size 95628 + Transfer rate: 74 KB/sec, 3825 bytes/write. + (gdb) c + Continuing. </pre></div> @@ -632,12 +626,12 @@ To locate the bootloader, the board searches in three places: User Flash Memory, </li> </ul> <p>By default, the linker script (<code>olimex_stm32-e407_devboard.ld</code>) is configured to run from bootloader and flash. However, if you first ran the image from SRAM you had changed <code>olimex_stm32-e407_devboard.ld</code> to match <code>run_from_sram.ld</code>. You will, therefore, return to defaults with <code>olimex_stm32-e407_devboard.ld</code> linker script matching the contents of 'run_from_loader.ld'. Return to the project directory.</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ cd ~/dev/core/hw/bsp/olimex_stm32-e407_devboard - $ diff olimex_stm32-e407_devboard.ld run_from_sram.ld - $ diff olimex_stm32-e407_devboard.ld run_from_loader.ld - (some diff will be displayed) - $ cp run_from_loader.ld olimex_stm32-e407_devboard.ld - $ cd ~/dev/core +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ cd ~/dev/myproj/repos/apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard/ +$ diff olimex_stm32-e407_devboard.ld run_from_sram.ld +$ diff olimex_stm32-e407_devboard.ld run_from_loader.ld +(some diff will be displayed) +$ cp run_from_loader.ld olimex_stm32-e407_devboard.ld +$ cd ~/dev/myproj </pre></div> @@ -645,18 +639,11 @@ To locate the bootloader, the board searches in three places: User Flash Memory, <ul> <li>In order to run the image from flash, you need to build the bootloader as well. The bootloader does the initial set up of the Olimex board and then transfers control to the image stored at a location in flash known to it. </li> </ul> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">Let's create boot_olimex: - -```no-highlight - $ newt target create boot_olimex - Creating target boot_olimex - Target boot_olimex successfully created! +<p>Let's create boot_olimex:</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ newt target create boot_olimex $ newt target set boot_olimex build_profile=optimized - Target boot_olimex successfully set compiler_def to optimized - $ newt target set boot_olimex @apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard - Target boot_olimex successfully set bsp to ... + $ newt target set boot_olimex bsp=@apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard $ newt target set boot_olimex app=@apache-mynewt-core/apps/boot - Target targets/boot_olimex successfully set target.app to apps/boot $ newt target show boot_olimex targets/boot_olimex app=app=@apache-mynewt-core/apps/boot @@ -671,11 +658,11 @@ To locate the bootloader, the board searches in three places: User Flash Memory, </ul> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ newt build boot_olimex ... - App successfully built: ~/dev/core/bin/boot_olimex/apps/boot/boot_olimex.elf + App successfully built: ~/dev/myproj/bin/boot_olimex/apps/boot/boot.elf $ newt build blinky ... Linking blinky.elf - App successfully built: ~/dev/core/bin/blinky/apps/blinky/blinky.elf + App successfully built: ~/dev/myproj/bin/blinky/apps/blinky/blinky.elf </pre></div> @@ -685,15 +672,15 @@ To locate the bootloader, the board searches in three places: User Flash Memory, When creating an image, you can assign a version number to your image; here we use '1.2.3'</li> </ul> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ newt create-image blinky 1.2.3 - App image successfully generated: ~/dev/core/bin/blinky/apps/blinky/blinky.img - Build manifest: ~/dev/core/bin/blinky/apps/blinky/manifest.json + App image succesfully generated: ~/dev/myproj/bin/blinky/apps/blinky/blinky.img + Build manifest: ~/dev/myproj/bin/blinky/apps/blinky/manifest.json $ newt load boot_olimex - Downloading ~/dev/core/bin/boot_olimex/apps/boot/boot.elf.bin to 0x08000000 + Downloading~/dev/myproj/bin/boot_olimex/apps/boot/boot.elf.bin to 0x08000000 Open On-Chip Debugger 0.9.0 (2015-11-15-13:10) ... shutdown command invoked $ newt load blinky - Downloading ~/dev/core/bin/blinky/apps/blinky/blinky.img to 0x08020000 + Downloading ~/dev/myproj/bin/blinky/apps/blinky/blinky.img to 0x08020000 Open On-Chip Debugger 0.9.0 (2015-11-15-13:10) ... shutdown command invoked @@ -709,8 +696,8 @@ When creating an image, you can assign a version number to your image; here we u <p>The LED light will start blinking again. Success!</p> <p><strong>Note #1:</strong> If you want to download the image to flash and a gdb session opened up, use <code>newt debug blinky</code> after <code>newt download blinky</code>.</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> $ newt debug blinky - Debugging with ~/dev/core/hw/bsp/olimex_stm32-e407_... - Debugging ~/dev/core/project/blinky/bin/blinky/blinky.elf + Debugging with ~/dev/myproj/hw/bsp/olimex_stm32-e407_... + Debugging ~/dev/myproj/project/blinky/bin/blinky/blinky.elf 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 <http://gnu.org/licenses/gpl.html> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/dfb65f62/os/tutorials/tutorials/index.html ---------------------------------------------------------------------- diff --git a/os/tutorials/tutorials/index.html b/os/tutorials/tutorials/index.html new file mode 100644 index 0000000..e620f62 --- /dev/null +++ b/os/tutorials/tutorials/index.html @@ -0,0 +1,506 @@ +<!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/tutorials/"> + <link rel="shortcut icon" href="../../../img/favicon.ico"> + + <title>toc - 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="toc"> + + + <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation"> + <div class="logo-container"> + <img src="/img/logo.svg"> + </div> + <div class="container-fluid"> + <!-- Collapsed navigation --> + <div class="navbar-header"> + <!-- Expander button --> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Expanded navigation --> + <div class="navbar-collapse collapse"> + <!-- Main navigation --> + <ul class="nav navbar-nav navbar-right"> + <li> + <a href="/">Home</a> + </li> + <li> + <a href="/about/">About</a> + </li> + <li class="dropdown"> + <a href="/documentation/" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a> + <ul class="dropdown-menu"> + + + + + + + <li > + <a href="../../../documentation/"> + Overview + </a> + </li> + + + + + + + + + + <li class="active"> + <a href="../../get_started/introduction/"> + Mynewt OS Manual + </a> + </li> + + + + <li > + <a href="../../../newt/newt_intro/"> + Newt Tool Manual + </a> + </li> + + + + <li > + <a href="../../../newtmgr/overview/"> + Newt Manager Manual + </a> + </li> + + + + <li > + <a href="../../../faq/answers/"> + Appendix + </a> + </li> + + + </ul> + </li> + <li> + <a href="/download/">Download</a> + </li> + <li> + <a href="/community/">Community</a> + </li> + <li> + <a href="/events/">Events</a> + </li> + </ul> + + <!-- Search, Navigation and Repo links --> + <ul class="nav navbar-nav navbar-right"> + + </ul> + </div> + </div> +</div> + + + + <div class="container-fluid"> + + <div class="row sm-extra-padding"> + <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary"> + <div class="sidebar-top"> + <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> + <div class="small" role="search"> + <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> + <div class="form-group"> + <input type="text" name="q" placeholder="Search documentation" /> + <button class="search-button" type="submit"><i class="fa fa-search"></i></button> + </div> + </form> + </div> + </div> + <ul class="nav bs-sidenav"> + + + + + + + + + + + + + + + + + + <li><a href=" + ../../get_started/introduction/ +">Mynewt OS Manual</a> + + + <ul class="current-toc"> + + + + + <li> + <a href="../../get_started/introduction/">Introduction</a> + </li> + + + + + + + + + <li ><a href="../../get_started/get_started/">Get Started</a></li> + + + </li> + + + + + + + + <li ><a href="../../get_started/vocabulary/">Concepts</a></li> + + + </li> + + + + + + + + <li class="active"><a href="./">Tutorials</a></li> + + + <ul class="current-toc"> + + + + + + + <li> + <a href="../arduino_zero/">Blinky on Arduino Zero</a> + </li> + + + + + + + + <li> + <a href="../olimex/">Blinky on Olimex</a> + </li> + + + + + + + + <li> + <a href="../STM32F303/">Blinky on STM32F303</a> + </li> + + + + + + + + <li> + <a href="../nRF52/">Blinky on nRF52</a> + </li> + + + + + + + + <li> + <a href="../unit_test/">Write a Test Suite for a Package</a> + </li> + + + + + + + + <li> + <a href="../air_quality_sensor/">Air-quality Sensor project</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> + + + + + + + + <li><a href=" + ../../../faq/answers/ +">Appendix</a> + + + </li> + + + + </ul> +</div></div> + + <div class="show-sidebar-container"> + <button class="show-sidebar">Docs Menu</button> + </div> + + <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main"> + <div class="row doc-header"> + <div class="col-sm-6"> + +<ul class="nav nav-pills"> + + + + + + + + + + + + + + + + + <li class="active" role="presentation"><a href="../../get_started/introduction/">Mynewt OS</a></li> + + + + <li role="presentation"><a href="../../../newt/newt_intro/">Newt Tool</a></li> + + + + <li role="presentation"><a href="../../../newtmgr/overview/">Newt Mgr</a></li> + + + + +</ul> + </div> + <div class="col-sm-6"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="/documentation/">Docs</a></li> + + + + <li>» <a href="../../get_started/introduction/">Mynewt OS Manual</a></li> + + + + <li>» Tutorials</li> + + + + + + </ul> +</div> + </div> + </div> + + <h2 id="tutorials">Tutorials<a class="headerlink" href="#tutorials" title="Permanent link">¶</a></h2> +<p>If the introduction to Mynewt has piqued your interest and you want to familiarize yourself with some of its functionality, this series of tutorials is for you. The lessons are aimed at the beginner. </p> +<ul> +<li><a href="../arduino_zero/">Blinky on Arduino Zero hardware</a></li> +<li><a href="../olimex/">Blinky on Olimex/STM32F407ZGT6 Cortex-M4 hardware</a></li> +<li><a href="../STM32F303/">Blinky on STM32F3 discovery kit from ST Micro</a></li> +<li><a href="../nRF52/">Blinky on nRF52 Development Kit from Nordic Semiconductor</a> <strong>Note:</strong> This supports BLE.</li> +<li><a href="../unit_test/">Add a unit Test for a Package</a></li> +<li><a href="../air_quality_sensor/">Add an air-quality sensor</a> </li> +<li><a href="../how_to_edit_docs/">How to contribute to docs</a></li> +</ul> +<p><strong>Send us an email on the dev@ mailing list if you have comments or suggestions!</strong> If you haven't joined the mailing list, you will find the links <a href="../../../community/">here</a>.</p> +<p><br></p> + + <div class="row"> + <footer> + <div class="row"> + <div class="col-md-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> + + </div> + </div> + <div class="copyright-logos"> + <div class="row"> + <div class="col-xs-6 text-right"> + <img src="/img/apache-feather.png" alt="Apache" title="Apache"> + </div> + <div class="col-xs-6 text-left"> + <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator"> + </div> + </div> + </div> + <div class="row"> + <div class="col-md-12"> + <small class="footnote"> + MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + </small> + </div> + </div> +</footer> + </div> + </div> + </div> + + + </div> + + <script src="../../../js/jquery-1.10.2.min.js"></script> + <script src="../../../js/bootstrap-3.0.3.min.js"></script> + <script src="../../../js/highlight.pack.js"></script> + <script src="../../../js/base.js"></script> + <script src="../../../js/custom.js"></script> + + </body> +</html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/dfb65f62/os/tutorials/unit_test/index.html ---------------------------------------------------------------------- diff --git a/os/tutorials/unit_test/index.html b/os/tutorials/unit_test/index.html index 64ff221..b88802a 100644 --- a/os/tutorials/unit_test/index.html +++ b/os/tutorials/unit_test/index.html @@ -9,7 +9,7 @@ <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> + <title>Write a Test Suite for 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"> @@ -40,7 +40,7 @@ </head> - <body class="Unit Testing a Package"> + <body class="Write a Test Suite for a Package"> <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation"> @@ -201,9 +201,7 @@ - <li><a href=" - ../../get_started/native_tools/ -">Get Started</a> + <li ><a href="../../get_started/get_started/">Get Started</a></li> </li> @@ -225,18 +223,18 @@ - <li><a href=" - ../olimex/ -">Tutorials</a> + <li ><a href="../tutorials/">Tutorials</a></li> <ul class="current-toc"> + + <li> - <a href="../olimex/">Blinky on Olimex</a> + <a href="../arduino_zero/">Blinky on Arduino Zero</a> </li> @@ -246,7 +244,7 @@ <li> - <a href="../STM32F303/">Blinky on STM32F303</a> + <a href="../olimex/">Blinky on Olimex</a> </li> @@ -256,7 +254,7 @@ <li> - <a href="../nRF52/">Blinky on nRF52</a> + <a href="../STM32F303/">Blinky on STM32F303</a> </li> @@ -266,7 +264,7 @@ <li> - <a href="../arduino_zero/">Blinky on Arduino Zero</a> + <a href="../nRF52/">Blinky on nRF52</a> </li> @@ -276,7 +274,7 @@ <li class="active"> - Unit Testing a Package + Write a Test Suite for a Package </li> @@ -286,7 +284,7 @@ <li> - <a href="../air_quality_sensor/">Adding an air-quality sensor</a> + <a href="../air_quality_sensor/">Air-quality Sensor project</a> </li> @@ -439,11 +437,11 @@ - <li>» <a href="../olimex/">Tutorials</a></li> + <li>» <a href="../tutorials/">Tutorials</a></li> - <li>» Unit Testing a Package</li> + <li>» Write a Test Suite for a Package</li> @@ -452,7 +450,7 @@ </div> </div> - <h1 id="how-to-write-a-test-suite-for-your-package">How To Write A Test Suite for Your Package<a class="headerlink" href="#how-to-write-a-test-suite-for-your-package" title="Permanent link">¶</a></h1> + <h1 id="write-a-test-suite-for-a-package">Write a Test Suite for a Package<a class="headerlink" href="#write-a-test-suite-for-a-package" title="Permanent link">¶</a></h1> <p>This document presents a tutorial which guides the reader through writing a test suite for a Mynewt package (new or existing).</p> <h2 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">¶</a></h2>
