|tagger||William San Filippo <firstname.lastname@example.org>||Fri Feb 03 16:37:09 2017 -0800|
Mynewt release 1.0.0 beta 2
|author||Marko Kiiskila <email@example.com>||Wed Jan 25 16:03:38 2017 -0800|
|committer||Marko Kiiskila <firstname.lastname@example.org>||Wed Jan 25 16:03:38 2017 -0800|
blinky; main() is now running in the context of main app.
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.
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.
You will need to download the Apache Newt tool, as documented in the Getting Started Guide.
$ newt install
$ 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.