tree: cbc0e3ce0deeab3e5baaab8242e3cd10d066fcbd [path history] [tgz]
  1. full/
  2. minimal/
  3. stub/
  4. README.md
versions/v1_4_0/mynewt-core/sys/console/README.md

Console

There are three versions of this library;

  • minimal - contains an implementation which allows for output, optional input, supports UART and RTT, and has support for newtmgr protocol.
  • full - contains all minimal features and adds formatted output through console_printf, console editing and BLE monitor.
  • stub - has stubs for the API.

You can write a package which uses console_printf(), and builder of a project can select which one they'll use. For the package, list in the pkg.yml console as the required capability. Project builder will then include either sys/console/full or sys/console/minimal or sys/console/stub as their choice.