The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_SHELL_PROMPT_UART

Displayed prompt name

Type: string

Help

Displayed prompt name for UART backend.

Direct dependencies

SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL

(Includes any dependencies from ifs and menus.)

Default

  • “uart:~$ “

Kconfig definition

At subsys/shell/Kconfig.backends:32

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:41subsys/shell/Kconfig:18

Menu path: (Top) → Sub Systems and OS Services → Shell → Enable shell backends → Enable serial backend

config SHELL_PROMPT_UART
    string "Displayed prompt name"
    default "uart:~$ "
    depends on SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL
    help
      Displayed prompt name for UART backend.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)