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 <Zephyr>/drivers/serial/Kconfig:15

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

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.)