This section contains a guide on creating a progressively more complex application in Mynewt, starting with the absolute basics and adding useful features one by one.

The individual pages can be references in isolation, but the example code builds up from one example to the next in chronological order.

  • Create a New Project: This page shows how to generate a new project, and add a custom application and build target to the project.
  • Adding Tasks: Add a custom task to the task scheduler
  • Adding Shell Commands: Add a custom shell command to the serial-based console
  • Adding Statistics: Add custom statistics to track the internal state of the system in an easy to monitor fashion

This guide was first published on Aug 18, 2017. It was last updated on Mar 21, 2024.

This page (Apache Mynewt Applications) was last updated on Aug 15, 2017.

Text editor powered by tinymce.