http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/blinky_console/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/blinky_console/index.html b/develop/os/tutorials/blinky_console/index.html new file mode 100644 index 0000000..16f0787 --- /dev/null +++ b/develop/os/tutorials/blinky_console/index.html @@ -0,0 +1,712 @@ +<!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"> + + + <!-- This is broken by doc revisioning. + <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/blinky_console/"> --> + <link rel="shortcut icon" href="../../../img/favicon.ico"> + + <title>Add Console and Shell to Blinky - Apache Mynewt</title> + + <link href="../../../css/bootstrap-3.0.3.min.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="../../../css/v2.css" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> + <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', 'auto'); + ga('send', 'pageview'); + </script> + + </head> + + + <body class="Add Console and Shell to Blinky"> + + + <div class="container"> + <div class="row v2-main-banner"> + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> + </div> +</div> + + + + + + + + +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> + <div class="container"> + <!-- 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 + class="" +> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> + </li> + <li + class="important" +> + <a href="/quick-start/">Quick Start</a> + </li> + <li + class="" +> + <a href="/about/">About</a> + </li> + <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li + class="active" +> + <a href="/latest/os/introduction">Documentation</a> + </li> + <li + class="" +> + <a href="/download/">Download</a> + </li> + <li + class="" +> + <a href="/community/">Community</a> + </li> + <li + class="" +> + <a href="/events/">Events</a> + </li> + </ul> + + <!-- Search, Navigation and Repo links --> + <ul class="nav navbar-nav navbar-right"> + + </ul> + </div> + </div> +</nav> + + + + <div class="container"> + + <div class="row"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="top"> + <div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> + <div class="form-group"> + <input type="text" name="q" class="form-control" placeholder="Search documentation" /> + </div> + </form> + </div> + </div> + <ul class="toc-nav"> + <li class="doc-version"> +<select class="form-control" onchange="if (this.value) window.location.href=this.value"> + + <option + value="/develop/os/introduction" + selected="selected" + > + Version: develop (latest) + </option> + + <option + value="/v0_9_0/os/introduction" + + > + Version: 0.9.0 + </option> + +</select> +</li> + + + + + + + + + + + + + + + + + + + + + + <li ><a href="../../introduction/">Mynewt Documentation</a> + + + <ul> + + + + + + + + <li ><a href="../../get_started/get_started/">Basic Setup</a> + + + </li> + + + + + + <li > + <a href="../../get_started/vocabulary/">Concepts</a> + </li> + + + + + + + + <li ><a href="../tutorials/">Tutorials</a> + + + <ul> + + + + + + + + <li><a href=" + ../arduino_zero/ +">Project Blinky</a> + + + <ul> + + + + <li > + <a href="../arduino_zero/">Blinky on Arduino Zero</a> + </li> + + + + + + <li > + <a href="../blinky_primo/">Blinky on Arduino Primo</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="../blinky_sram_olimex/">Run Blinky from SRAM, no bootloader</a> + </li> + + + + + + <li class="active"> + <a href="./">Add Console and Shell to Blinky</a> + </li> + + + + </ul> + + </li> + + + + + + + + <li ><a href="../repo/add_repos/">Work with repositories</a> + + + </li> + + + + + + <li > + <a href="../tasks_lesson/">Tasks and Priority Management</a> + </li> + + + + + + <li > + <a href="../wi-fi_on_arduino/">Enable Wi-Fi on Arduino Zero</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="../event_queue/">Add task to manage multiple events</a> + </li> + + + + + + + + <li><a href=" + ../project-slinky/ +">Project Slinky for remote comms</a> + + + </li> + + + + + + <li > + <a href="../add_newtmgr/">Enable newtmgr in any app</a> + </li> + + + + + + <li > + <a href="../add_shell/">Enable the OS Shell and Console</a> + </li> + + + + + + <li > + <a href="../bletiny_project/">BLE app to check stats via console</a> + </li> + + + + + + + + <li ><a href="../bleprph/bleprph-intro/">BLE peripheral project</a> + + + </li> + + + + + + <li > + <a href="../ibeacon/">BLE iBeacon</a> + </li> + + + + + + <li > + <a href="../blehci_project/">BLE HCI interface</a> + </li> + + + + </ul> + + </li> + + + + + + + + <li ><a href="../../os_user_guide/">OS User Guide</a> + + + </li> + + + + + + + + <li><a href=" + ../../../network/ble/ble_intro/ +">BLE User Guide</a> + + + </li> + + + + + + + + <li ><a href="../../../newt/newt_intro/">Newt Tool Guide</a> + + + </li> + + + + + + + + <li ><a href="../../../newtmgr/overview/">Newt Manager Guide</a> + + + </li> + + + + </ul> + + </li> + + + + + + + + <li><a href=" + ../../../faq/how_to_edit_docs/ +">Appendix</a> + + + </li> + + + + </ul> +</div></div> + + <div class="col-md-9" role="main"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs pull-right"> + <li><a href="/develop/os/introduction">Docs</a></li> + + + + <li>» <a href="../tutorials/">Tutorials</a></li> + + + + <li>» <a href="../arduino_zero/">Project Blinky</a></li> + + + + <li>» Add Console and Shell to Blinky</li> + + + + </ul> +</div> + </div> + + <h2 id="enabling-the-console-and-shell-for-blinky">Enabling The Console and Shell for Blinky</h2> +<p><br></p> +<p>This tutorial explains how to add the Console and Shell task to the blinky app so that you +can interact with it over a serial line connection.</p> +<p><br></p> +<h3 id="pre-requisites">Pre-Requisites</h3> +<ul> +<li>Ensure you have installed <a href="../../../newt/install/newt_mac/">newt</a> and that the +newt command is in your system path. </li> +<li>You must have Internet connectivity to fetch remote Mynewt components.</li> +<li>You must <a href="../../get_started/native_tools/">install the compiler tools</a> to +support native compiling to build the project this tutorial creates. </li> +<li>You must install the <a href="https://www.segger.com/jlink-software.html">Segger JLINK package</a> to +load your project on the board.</li> +<li>Cable to establish a serial USB connection between the board and the laptop</li> +</ul> +<p><br></p> +<h3 id="use-an-existing-project">Use an existing project</h3> +<p>Since all we're doing is adding the shell and console capability to blinky, we assume +that you have worked through at least some of the other tutorials, and have an existing project. +For this example, we'll be modifying the <a href="../nRF52/">blinky on nrf52</a> project to enable +the shell and console connectivity. Feel free to use whatever version of blinky you'd like though.</p> +<p><br></p> +<h3 id="modify-the-dependencies-and-configuration">Modify the Dependencies and Configuration</h3> +<p>The first thing you'll need to add is a few new dependencies for your app. To add shell support to +your app make sure the following <code>pkg.deps</code> are defined in your target's pkg.yml file:</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">pkg.deps: + - "@apache-mynewt-core/sys/console/full" + - "@apache-mynewt-core/sys/shell" + - "@apache-mynewt-core/sys/sysinit" +</pre></div> + + +<p>This lets the newt system know that it needs to pull in the code for the console and the shell.</p> +<p>Now we'll need to modify the settings for the app to turn on the shell, etc. by modifying the +<code>syscfg.yml</code> file for your target. (Remember, these files are in the targets/<app-name> directory.) +If there isn't a <code>syscfg.yml</code> file in your target's directory, you will need to create one.</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"># Package: apps/bletiny + +syscfg.vals: + # Enable the shell task. + SHELL_TASK: 1 + # Enable Console OS Ticks + CONSOLE_TICKS: 1 + # Enable Console Prompt + CONSOLE_PROMPT: 1 +</pre></div> + + +<h3 id="add-an-event-queue">Add an Event Queue</h3> +<p>Blinky is a small app that doesn't make use of tasks or an event queue as many other apps do, so +we'll have to modify the source for the app in order to add one. </p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="color: #177500">/* System event queue task handler */</span> +<span style="color: #633820">#define SYSEVQ_PRIO (1)</span> +<span style="color: #633820">#define SYSEVQ_STACK_SIZE OS_STACK_ALIGN(512)</span> +<span style="color: #A90D91">static</span> <span style="color: #A90D91">struct</span> <span style="color: #000000">os_task</span> <span style="color: #000000">task_sysevq</span>; +<span style="color: #A90D91">os_stack_t</span> <span style="color: #000000">sysevq_stack</span>[<span style="color: #000000">SYSEVQ_STACK_SIZE</span>]; + +<span style="color: #177500">/* Event queue for events handled by the system (shell, etc.) */</span> +<span style="color: #A90D91">static</span> <span style="color: #A90D91">struct</span> <span style="color: #000000">os_eventq</span> <span style="color: #000000">sys_evq</span>; +</pre></div> + + +<p>We define a new <code>os_task</code> a task stack (<code>sysevq_stack</code>) and new system event queue +(<code>sys_evq</code>) so that the shell and console will have an event queue to run in.</p> +<p>Next we go down to our <code>init_tasks()</code> function and initialize it</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="color: #000000">os_task_init</span>(<span style="color: #000000">&task_sysevq</span>, <span style="color: #C41A16">"sysevq"</span>, <span style="color: #000000">sysevq_handler</span>, <span style="color: #A90D91">NULL</span>, + <span style="color: #000000">SYSEVQ_PRIO</span>, <span style="color: #000000">OS_WAIT_FOREVER</span>, <span style="color: #000000">sysevq_stack</span>, <span style="color: #000000">SYSEVQ_STACK_SIZE</span>); +<span style="color: #000000">os_eventq_init</span>(<span style="color: #000000">&sys_evq</span>); +<span style="color: #000000">os_eventq_dflt_set</span>(<span style="color: #000000">&sys_evq</span>); +</pre></div> + + +<p>This will initialize the task, initialize the event queue, and then set the new event queue as +the default event queue. </p> +<h3 id="build-targets">Build targets</h3> +<p>We're not going to build the bootloader here since we are assuming that you have already +built and loaded it during previous tutorials.</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt build blinky +Archiving cbmem.a +Compiling crc16.c +Compiling crc8.c +Archiving crc.a +Compiling mem.c +Archiving mem.a +Linking ~/dev/myproj/bin/targets/blinky/app/apps/blinky/blinky.elf +Target successfully built: targets/blinky +</pre></div> + + +<p><br></p> +<h3 id="create-the-app-image">Create the app image</h3> +<p>Generate a signed application image for the <code>blinky</code> target. The version number is arbitrary.</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt create-image blinky 1.0.0 +App image succesfully generated: ~/dev/myproj/bin/targets/blinky/app/apps/blinky/blinky.img +</pre></div> + + +<p><br></p> +<h3 id="load-the-image">Load the image</h3> +<p>Make sure the USB connector is in place and the power LED on the board is lit. Use the Power ON/OFF switch to reset the board after loading the image.</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt load blinky +</pre></div> + + +<p><br></p> +<h3 id="set-up-serial-connection">Set up Serial connection</h3> +<p>You'll need a Serial connection to see the output of your program. You can reference the <a href="../../get_started/serial_access/">Serial Port Setup</a> +Tutorial for more information on setting up your serial communications.</p> +<p><br></p> +<h3 id="connecting-with-your-app">Connecting with your app</h3> +<p>Once you have a connection set up, you can connect to your device with <code>minicom -D /dev/tty.usbmodem<port> -b 115200</code> to run connect +to the console of your app. </p> +<p>To test and make sure that the Shell is running, first just hit <return>:</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">3534: > +</pre></div> + + +<p>Remember, we turned the CONSOLE_PROMPT and the CONSOLE_TICKS on earlier. You can try some commands now:</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">3609: > ? +Commands: +8841: echo ? prompt ticks tasks mempools +8843: date b +8844: > ticks off + Console Ticks off + > prompt off + Prompt now off. +ticks on +33383: Console Ticks on + +33568: +prompt on +39108: Prompt now on. +39108: > +</pre></div> + + +<p>And there you have the Console and Shell working in an app that previously had no event queue! </p> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../blinky_sram_olimex/> + <span class="fa fa-arrow-left"></span> + Previous: Run Blinky from SRAM, no bootloader + </a> + + </li> + <li class="pull-right"> + + <a href=../repo/add_repos/> + Next: Work with repositories + <span class="fa fa-arrow-right"></span> + </a> + + </li> +</ul> + </div> + <footer class="row"> + <div class="col-xs-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.</p> + + </div> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> + <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> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> + </div> + </div> +</footer> + </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/8da4f0a3/develop/os/tutorials/blinky_primo/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/blinky_primo/index.html b/develop/os/tutorials/blinky_primo/index.html index 96bf376..50b9c99 100644 --- a/develop/os/tutorials/blinky_primo/index.html +++ b/develop/os/tutorials/blinky_primo/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> @@ -284,6 +290,14 @@ + + + <li > + <a href="../blinky_console/">Add Console and Shell to Blinky</a> + </li> + + + </ul> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/blinky_sram_olimex/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/blinky_sram_olimex/index.html b/develop/os/tutorials/blinky_sram_olimex/index.html index f56e18d..6b5b0dc 100644 --- a/develop/os/tutorials/blinky_sram_olimex/index.html +++ b/develop/os/tutorials/blinky_sram_olimex/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> @@ -284,6 +290,14 @@ + + + <li > + <a href="../blinky_console/">Add Console and Shell to Blinky</a> + </li> + + + </ul> </li> @@ -667,8 +681,8 @@ To locate the bootloader, the board searches in three places: User Flash Memory, </li> <li class="pull-right"> - <a href=../repo/add_repos/> - Next: Work with repositories + <a href=../blinky_console/> + Next: Add Console and Shell to Blinky <span class="fa fa-arrow-right"></span> </a> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/event_queue/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/event_queue/index.html b/develop/os/tutorials/event_queue/index.html index 3e00a9d..07a5633 100644 --- a/develop/os/tutorials/event_queue/index.html +++ b/develop/os/tutorials/event_queue/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/ibeacon/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/ibeacon/index.html b/develop/os/tutorials/ibeacon/index.html index 175faeb..c7dbead 100644 --- a/develop/os/tutorials/ibeacon/index.html +++ b/develop/os/tutorials/ibeacon/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/nRF52/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/nRF52/index.html b/develop/os/tutorials/nRF52/index.html index 269d1a6..37c2c69 100644 --- a/develop/os/tutorials/nRF52/index.html +++ b/develop/os/tutorials/nRF52/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> @@ -284,6 +290,14 @@ + + + <li > + <a href="../blinky_console/">Add Console and Shell to Blinky</a> + </li> + + + </ul> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/olimex/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/olimex/index.html b/develop/os/tutorials/olimex/index.html index 203ee92..8bb4ba0 100644 --- a/develop/os/tutorials/olimex/index.html +++ b/develop/os/tutorials/olimex/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> @@ -284,6 +290,14 @@ + + + <li > + <a href="../blinky_console/">Add Console and Shell to Blinky</a> + </li> + + + </ul> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/pin-wheel-mods/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/pin-wheel-mods/index.html b/develop/os/tutorials/pin-wheel-mods/index.html index ba3233c..cd46533 100644 --- a/develop/os/tutorials/pin-wheel-mods/index.html +++ b/develop/os/tutorials/pin-wheel-mods/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> @@ -298,6 +304,14 @@ + + + <li > + <a href="../blinky_console/">Add Console and Shell to Blinky</a> + </li> + + + </ul> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/project-slinky/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/project-slinky/index.html b/develop/os/tutorials/project-slinky/index.html index b7a2f7f..0711053 100644 --- a/develop/os/tutorials/project-slinky/index.html +++ b/develop/os/tutorials/project-slinky/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/project-target-slinky/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/project-target-slinky/index.html b/develop/os/tutorials/project-target-slinky/index.html index c765a62..fb17d81 100644 --- a/develop/os/tutorials/project-target-slinky/index.html +++ b/develop/os/tutorials/project-target-slinky/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/repo/add_repos/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/repo/add_repos/index.html b/develop/os/tutorials/repo/add_repos/index.html index 2e4f264..f6417c6 100644 --- a/develop/os/tutorials/repo/add_repos/index.html +++ b/develop/os/tutorials/repo/add_repos/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> @@ -732,9 +738,9 @@ should give you all the information to add it to your <code>project.yml</code> f <ul class="nav nav-pills" style="margin-bottom: 10px"> <li> - <a href=../../blinky_sram_olimex/> + <a href=../../blinky_console/> <span class="fa fa-arrow-left"></span> - Previous: Run Blinky from SRAM, no bootloader + Previous: Add Console and Shell to Blinky </a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/repo/create_repo/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/repo/create_repo/index.html b/develop/os/tutorials/repo/create_repo/index.html index f28e94c..70c981d 100644 --- a/develop/os/tutorials/repo/create_repo/index.html +++ b/develop/os/tutorials/repo/create_repo/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/repo/upgrade_repo/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/repo/upgrade_repo/index.html b/develop/os/tutorials/repo/upgrade_repo/index.html index f1a85b1..22deea5 100644 --- a/develop/os/tutorials/repo/upgrade_repo/index.html +++ b/develop/os/tutorials/repo/upgrade_repo/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/tasks_lesson/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/tasks_lesson/index.html b/develop/os/tutorials/tasks_lesson/index.html index 46bd843..e047c9f 100644 --- a/develop/os/tutorials/tasks_lesson/index.html +++ b/develop/os/tutorials/tasks_lesson/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/tutorials/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/tutorials/index.html b/develop/os/tutorials/tutorials/index.html index 0071d45..9cd2730 100644 --- a/develop/os/tutorials/tutorials/index.html +++ b/develop/os/tutorials/tutorials/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/unit_test/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/unit_test/index.html b/develop/os/tutorials/unit_test/index.html index 23e8d6a..d815736 100644 --- a/develop/os/tutorials/unit_test/index.html +++ b/develop/os/tutorials/unit_test/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/os/tutorials/wi-fi_on_arduino/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/wi-fi_on_arduino/index.html b/develop/os/tutorials/wi-fi_on_arduino/index.html index f8db6af..9de175b 100644 --- a/develop/os/tutorials/wi-fi_on_arduino/index.html +++ b/develop/os/tutorials/wi-fi_on_arduino/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/pages/ble/index.html ---------------------------------------------------------------------- diff --git a/develop/pages/ble/index.html b/develop/pages/ble/index.html index ec5d4c8..a805986 100644 --- a/develop/pages/ble/index.html +++ b/develop/pages/ble/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/quick-start/index.html ---------------------------------------------------------------------- diff --git a/develop/quick-start/index.html b/develop/quick-start/index.html index f293ce8..26d4ceb 100644 --- a/develop/quick-start/index.html +++ b/develop/quick-start/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/search.html ---------------------------------------------------------------------- diff --git a/develop/search.html b/develop/search.html index 46b0219..9a8c401 100644 --- a/develop/search.html +++ b/develop/search.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/sitemap.xml ---------------------------------------------------------------------- diff --git a/develop/sitemap.xml b/develop/sitemap.xml index 5bef0fc..4940126 100644 --- a/develop/sitemap.xml +++ b/develop/sitemap.xml @@ -4,7 +4,7 @@ <url> <loc>http://mynewt.apache.org/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -13,7 +13,7 @@ <url> <loc>http://mynewt.apache.org/pages/ble/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -22,7 +22,7 @@ <url> <loc>http://mynewt.apache.org/quick-start/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -30,7 +30,7 @@ <url> <loc>http://mynewt.apache.org/about/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -38,7 +38,7 @@ <url> <loc>http://mynewt.apache.org/talks/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -46,7 +46,7 @@ <url> <loc>http://mynewt.apache.org/download/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -54,7 +54,7 @@ <url> <loc>http://mynewt.apache.org/community/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -62,7 +62,7 @@ <url> <loc>http://mynewt.apache.org/events/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -71,7 +71,7 @@ <url> <loc>http://mynewt.apache.org/os/introduction/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -83,7 +83,7 @@ <url> <loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> @@ -123,13 +123,13 @@ <url> <loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://mynewt.apache.org/faq/answers/</loc> - <lastmod>2016-12-15</lastmod> + <lastmod>2016-12-19</lastmod> <changefreq>daily</changefreq> </url> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/develop/talks/index.html ---------------------------------------------------------------------- diff --git a/develop/talks/index.html b/develop/talks/index.html index 869f439..b40ded7 100644 --- a/develop/talks/index.html +++ b/develop/talks/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/download/index.html ---------------------------------------------------------------------- diff --git a/download/index.html b/download/index.html index e80ec78..22db1c8 100644 --- a/download/index.html +++ b/download/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/events/index.html ---------------------------------------------------------------------- diff --git a/events/index.html b/events/index.html index ebe24d1..51da136 100644 --- a/events/index.html +++ b/events/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/faq/answers/index.html ---------------------------------------------------------------------- diff --git a/faq/answers/index.html b/faq/answers/index.html index 1ffbf65..0b6ac29 100644 --- a/faq/answers/index.html +++ b/faq/answers/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/faq/how_to_edit_docs/index.html ---------------------------------------------------------------------- diff --git a/faq/how_to_edit_docs/index.html b/faq/how_to_edit_docs/index.html index 1c369f3..7e45883 100644 --- a/faq/how_to_edit_docs/index.html +++ b/faq/how_to_edit_docs/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/index.html ---------------------------------------------------------------------- diff --git a/index.html b/index.html index e9c758f..59ee189 100644 --- a/index.html +++ b/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/about/index.html ---------------------------------------------------------------------- diff --git a/latest/about/index.html b/latest/about/index.html index 5218980..c4e5e05 100644 --- a/latest/about/index.html +++ b/latest/about/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/community/index.html ---------------------------------------------------------------------- diff --git a/latest/community/index.html b/latest/community/index.html index 451e4a3..e87bd17 100644 --- a/latest/community/index.html +++ b/latest/community/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/css/v2.css ---------------------------------------------------------------------- diff --git a/latest/css/v2.css b/latest/css/v2.css index 6451517..676a1fd 100644 --- a/latest/css/v2.css +++ b/latest/css/v2.css @@ -1,28 +1,62 @@ +.v2-main-banner { + display: flex; + justify-content: space-between; + flex-flow: row; +} + +@media all and (max-width: 800px) { + .v2-main-banner { + justify-content: flex-start; + flex-flow: column; + } +} + +.v2-main-banner .logo-cell { + flex-grow: 0; +} .v2-main-banner .logo { height: 220px; /* reduce the image to reduce whitespace */ margin-top: -35px; margin-bottom: -35px; + margin-left: 20px; + margin-right: 20px; } -.v2-main-banner .tagline { +.v2-main-banner .tagline-cell { + flex-grow: 2; + flex-basis: 500px; margin-left: 20px; - margin-bottom: 36px; /* align with logo text */ - display: inline-block; - vertical-align: bottom; + margin-right: 20px; + align-self: flex-end; + margin-bottom: 25px; } -.v2-main-banner .news { - margin-left: 40px; +@media all and (max-width: 800px) { + .v2-main-banner .tagline-cell { + align-self: flex-start; + margin-bottom: 0; + } +} + +.v2-main-banner .news-cell { + flex-grow: 1; + flex-basis: 200px; + margin-top: 15px; + margin-left: 20px; + margin-right: 20px; +} + +.v2-main-banner .well { padding: 10px; - border-radius: 5px; } -.v2-vcenter { - display: inline-block; - vertical-align: middle; - float: none; +@media all and (max-width: 800px) { + .v2-main-banner .logo-cell, .v2-main-banner .tagline-cell, .v2-main-banner .news-cell { + flex-grow: 0; + flex-basis: 0; + } } .v2-landing .tagline { http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/download/index.html ---------------------------------------------------------------------- diff --git a/latest/download/index.html b/latest/download/index.html index b180342..2dc7f4e 100644 --- a/latest/download/index.html +++ b/latest/download/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/events/index.html ---------------------------------------------------------------------- diff --git a/latest/events/index.html b/latest/events/index.html index ae2da31..20a8d39 100644 --- a/latest/events/index.html +++ b/latest/events/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/faq/answers/index.html ---------------------------------------------------------------------- diff --git a/latest/faq/answers/index.html b/latest/faq/answers/index.html index c714436..e399f03 100644 --- a/latest/faq/answers/index.html +++ b/latest/faq/answers/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/faq/how_to_edit_docs/index.html ---------------------------------------------------------------------- diff --git a/latest/faq/how_to_edit_docs/index.html b/latest/faq/how_to_edit_docs/index.html index 57245fd..f8c2ff8 100644 --- a/latest/faq/how_to_edit_docs/index.html +++ b/latest/faq/how_to_edit_docs/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/index.html ---------------------------------------------------------------------- diff --git a/latest/index.html b/latest/index.html index 1bef8e3..7c0653b 100644 --- a/latest/index.html +++ b/latest/index.html @@ -46,11 +46,17 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8da4f0a3/latest/main-banner.html ---------------------------------------------------------------------- diff --git a/latest/main-banner.html b/latest/main-banner.html index 70ac2da..6ea0f69 100644 --- a/latest/main-banner.html +++ b/latest/main-banner.html @@ -1,9 +1,15 @@ <div class="container"> <div class="row v2-main-banner"> - <div class="col-xs-12 v2-vcenter"> - <a href="/"><img class="logo" src="/img/logo.png"></a> - + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + </div> + </div> </div> </div>
