The latest development version of this page may be more current than this released 2.7.5 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 ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config UART_STM32
    bool
    default y
    depends on SERIAL && SOC_FAMILY_STM32

At drivers/serial/Kconfig.stm32:10

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:26drivers/serial/Kconfig:114

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

config UART_STM32
    bool "STM32 MCU serial driver"
    select SERIAL_HAS_DRIVER
    select SERIAL_SUPPORT_INTERRUPT
    select SERIAL_SUPPORT_ASYNC if n || n || n
    select DMA if UART_ASYNC_API
    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.

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