1# Atmel SAM SERCOM configuration options 2 3# Copyright (c) 2017 Google LLC. 4# SPDX-License-Identifier: Apache-2.0 5 6# Workaround for not being able to have commas in macro arguments 7DT_COMPAT_ATMEL_SAM0_DMAC := atmel,sam0-dmac 8 9config UART_SAM0 10 bool "Atmel SAM0 series SERCOM USART driver" 11 default y 12 depends on SOC_FAMILY_SAM0 13 select SERIAL_HAS_DRIVER 14 select SERIAL_SUPPORT_INTERRUPT 15 # the ASYNC implementation requires a DMA controller 16 select SERIAL_SUPPORT_ASYNC if $(dt_compat_enabled,$(DT_COMPAT_ATMEL_SAM0_DMAC)) 17 select DMA if UART_ASYNC_API 18 help 19 This option enables the SERCOMx USART driver for Atmel SAM0 MCUs. 20