1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/saml1x: Add DMA peripheral to init

This commit is contained in:
Koen Zandberg 2020-06-11 20:24:14 +02:00
parent 4ef0b85495
commit ec1d575e7c
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -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();