This is the documentation for the latest (master) 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_SERIAL_HAS_DRIVER

(No prompt – not directly user assignable.)

Type: bool

Help

This is an option to be enabled by individual serial driver to signal that there is a serial driver. This is being used by other drivers which are dependent on serial.

Direct dependencies

SERIAL

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/serial/Kconfig:15

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:22

Menu path: (Top) → Device Drivers → Serial Drivers

config SERIAL_HAS_DRIVER
    bool
    depends on SERIAL
    help
      This is an option to be enabled by individual serial driver
      to signal that there is a serial driver. This is being used
      by other drivers which are dependent on serial.

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