Module capsules_core::process_console

source ·
Expand description

Implements a text console over the UART that allows a terminal to inspect and control userspace processes.

For a more in-depth documentation check /doc/



  • Commands can be up to 32 bytes long: since commands themselves are 4-5 characters, limiting arguments to 25 bytes or so seems fine for now.
  • Default size for the history command.
  • Buffer responses are initially held in until copied to the TX buffer and transmitted.
  • Since reads are byte-by-byte, to properly echo what’s typed, we can use a very small read buffer.
  • Buffer to hold outgoing data that is passed to the UART hardware.