Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example provides a CLI on the UART that can be accessed from Linux running on the N8:

Code Block
oot@solidsenseroot@solidsense-n8:~# microcom -s 115200 /dev/ttymxc3

uart:~$ *** Booting nRF Connect SDK v2.9.1-60d0d6c8d42d ***
*** Using Zephyr OS v3.7.99-ca954a6216c9 ***
help
Please press the <Tab> button to see all available commands.
You can also use the <Tab> button to prompt or auto-complete all commands or its subcommands.
You can try to call commands with <-h> or <--help> parameter for more information.

Shell supports following meta-keys:
  Ctrl + (a key from: abcdefklnpuw)
  Alt  + (a key from: bf)
Please refer to shell documentation for more details.

Available commands:
  clear    : Clear screen.
  device   : Device commands
  devmem   : Read/write physical memory
             Usage:
             Read memory at address with optional width:
             devmem <address> [<width>]
             Write memory at address with mandatory width and value:
             devmem <address> <width> <value>
  gpio     : GPIO commands
  help     : Prints the help message.
  history  : Command history.
  kernel   : Kernel commands
  ot       : OpenThread subcommands
             Use "ot help" to get the list of subcommands
  rem      : Ignore lines beginning with 'rem '
  resize   : Console gets terminal screen size or assumes default in case the
             readout fails. It must be executed after each terminal width change
             to ensure correct text display.
  retval   : Print return value of most recent command
  shell    : Useful, not Unix-like shell commands.
uart:~$

...