The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_UART_STM32

STM32 MCU serial driver

Type: bool

Help

This option enables the UART driver for STM32 family of processors. Say y if you wish to use serial port on STM32 MCU.

Direct dependencies

(SERIAL && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && SERIAL)

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:14

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config UART_STM32
    bool
    default "y" if SERIAL && SOC_FAMILY_STM32
    depends on SERIAL && SOC_FAMILY_STM32

At drivers/serial/Kconfig.stm32:8

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:22drivers/serial/Kconfig:91

Menu path: (top menu) → Device Drivers → Serial Drivers

menuconfig UART_STM32
    bool
    prompt "STM32 MCU serial driver" if SOC_FAMILY_STM32 && SERIAL
    select SERIAL_HAS_DRIVER if SOC_FAMILY_STM32 && SERIAL
    select SERIAL_SUPPORT_INTERRUPT if SOC_FAMILY_STM32 && SERIAL
    depends on SOC_FAMILY_STM32 && SERIAL
    help
      This option enables the UART driver for STM32 family of
      processors.
      Say y if you wish to use serial port on STM32 MCU.

(Definitions include propagated dependencies, including from if’s and menus.)