Skip to content
Permalink
Browse files

drivers: serial: sam0: Implement DMA async API

This adds support for the async API for SAM0 SERCOM USARTs using
DMA to drive the device.

Tested on SAMD21 with a few trivial programs and with
tests/drivers/uart/uart_async_api.

Signed-off-by: Derek Hageman <hageman@inthat.cloud>
  • Loading branch information...
Sizurka authored and nashif committed Mar 24, 2019
1 parent 64e0202 commit 55bb37e35cb6e6dd418739fbe27def31ef3fb1a3
Showing with 702 additions and 4 deletions.
  1. +1 −0 drivers/serial/Kconfig.sam0
  2. +689 −4 drivers/serial/uart_sam0.c
  3. +12 −0 dts/bindings/serial/atmel,sam0-uart.yaml
@@ -9,5 +9,6 @@ menuconfig UART_SAM0
depends on SOC_FAMILY_SAM0
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select DMA if UART_ASYNC_API
help
This option enables the SERCOMx USART driver for Atmel SAM0 MCUs.

0 comments on commit 55bb37e

Please sign in to comment.
You can’t perform that action at this time.