CONFIG_SEMIHOST_CONSOLE

Use semihosting for console

Type: bool

Help

Enable this option to use semihosting for console. Semihosting is a mechanism that enables code running on an ARM target to communicate and use the Input/Output facilities on a host computer that is running a debugger. Additional information can be found in: https://developer.arm.com/docs/dui0471/k/what-is-semihosting/what-is-semihosting This option is compatible with hardware and with QEMU, through the (automatic) use of the -semihosting-config switch when invoking it.

Direct dependencies

CPU_CORTEX_M && CONSOLE

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/drivers/console/Kconfig:312

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:14

Menu path: (Top) → Device Drivers → Console drivers

config SEMIHOST_CONSOLE
    bool "Use semihosting for console"
    select CONSOLE_HAS_DRIVER
    depends on CPU_CORTEX_M && CONSOLE
    help
      Enable this option to use semihosting for console.
      Semihosting is a mechanism that enables code running on an ARM target
      to communicate and use the Input/Output facilities on a host computer
      that is running a debugger.
      Additional information can be found in:
      https://developer.arm.com/docs/dui0471/k/what-is-semihosting/what-is-semihosting
      This option is compatible with hardware and with QEMU, through the
      (automatic) use of the -semihosting-config switch when invoking it.

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