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_UART_SAM0

Atmel SAM0 series SERCOM USART driver

Type: bool

Help

This option enables the SERCOMx USART driver for Atmel SAM0 MCUs.

Direct dependencies

SOC_FAMILY_SAM0 || (SOC_FAMILY_SAM0 && SERIAL)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At soc/arm/atmel_sam0/common/Kconfig.defconfig.series:35

Included via Kconfig:8Kconfig.zephyr:25soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config UART_SAM0
    bool
    default SERIAL
    depends on SOC_FAMILY_SAM0

At drivers/serial/Kconfig.sam0:9

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

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

config UART_SAM0
    bool "Atmel SAM0 series SERCOM USART driver"
    default y
    select SERIAL_HAS_DRIVER
    select SERIAL_SUPPORT_INTERRUPT
    select SERIAL_SUPPORT_ASYNC if n
    select DMA if UART_ASYNC_API
    depends on SOC_FAMILY_SAM0 && SERIAL
    help
      This option enables the SERCOMx USART driver for Atmel SAM0 MCUs.

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