From ec1d575e7cd703d1c205f12807afd57e882a9627 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Thu, 11 Jun 2020 20:24:14 +0200 Subject: [PATCH] cpu/saml1x: Add DMA peripheral to init --- cpu/saml1x/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpu/saml1x/cpu.c b/cpu/saml1x/cpu.c index 9505a29c99..c5c5693484 100644 --- a/cpu/saml1x/cpu.c +++ b/cpu/saml1x/cpu.c @@ -166,6 +166,11 @@ void cpu_init(void) _gclk_setup(SAM0_GCLK_32KHZ, GCLK_GENCTRL_GENEN | GCLK_GENCTRL_SRC_OSCULP32K); #endif +#ifdef MODULE_PERIPH_DMA + /* initialize DMA streams */ + dma_init(); +#endif + /* initialize stdio prior to periph_init() to allow use of DEBUG() there */ stdio_init();