tree: 2ae1b9d3ef46b1de34fe3aabb97a4cea9b2af03c [path history] [tgz]
  1. full/
  2. minimal/
  3. stub/
  4. pkg.yml
  5. README.md
  6. syscfg.yml
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.

It is possible to include this package and select required library by syscfg value CONSOLE_MODE full, stub or minimal.

Following line enables full console.

CONSOLE_MODE: full