Apache Mynewt Blinky

Clone this repo:
  1. 06536d2 Merge pull request #13 from sjanc/build_fix by Szymon Janc · 11 months ago master
  2. 187eca9 Fix build with master by Szymon Janc · 11 months ago
  3. 09322e0 Merge pull request #7 from klener89/patch-1 by ccollins476ad · 1 year, 5 months ago
  4. 78a50ea update dead link by klener89 · 1 year, 5 months ago
  5. d921fdd blinky - Use console/stub instead of console/full. by Christopher Collins · 2 years, 3 months ago 1_3_0_dev mynewt_1_3_0_rc1_tag mynewt_1_3_0_rc2_tag mynewt_1_3_0_rc3_tag mynewt_1_3_0_tag

Apache Blinky

Overview

Apache Blinky is a skeleton for new Apache Mynewt projects. The user downloads this skeleton by issuing the “newt new” command (using Apache Newt). Apache blinky also contains an example app and target for use with Apache Mynewt to help you get started.

Building

Apache Blinky contains an example Apache Mynewt application called blinky. When executed on suitably equipped hardware, this application repeatedly blinks an LED. The below procedure describes how to build this application for the Apache Mynewt simulator.

  1. Download and install Apache Newt.

You will need to download the Apache Newt tool, as documented in the Getting Started Guide.

  1. Download the Apache Mynewt Core package (executed from the blinky directory).
    $ newt install
  1. Build the blinky app for the sim platform using the “my_blinky_sim” target (executed from the blinky directory).
    $ newt build my_blinky_sim

The Apache Newt tool should indicate the location of the generated blinky executable. Since the simulator does not have an LED to blink, this version of blinky is not terribly exciting - a printed message indicating the current LED state. To learn how to build blinky for actual hardware, please see the Getting Started Guide.