This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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:42subsys/Kconfig:45subsys/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.)