Add build instructions to README.
1 file changed
tree: c3bd7b7e42f7168a7911f835dec39479e10d66f6
  1. apps/
  2. targets/
  3. .gitignore
  4. .rat-excludes
  5. DISCLAIMER
  6. LICENSE
  7. NOTICE
  8. project.yml
  9. README.md
README.md

Apache Blinky

Overview

Apache Blinky is a skeleton for new Apache Mynewt projects. This directory struture is downloaded when the user issues a “newt new” command. Apache blinky also contains an example Apache Mynewt app and target to help you get started.

Building

Apache Blinky contains an example Apache Mynewt application called blinky. This application blinks an LED on the host board. The below procedure describes how to build this application for the Apache Mynewt simulator.

  1. Download Apache Newt.

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

  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 (no observable behavior!). To learn how to build blinky for actual harder, please see the Getting Started Guide.