1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

cpu/samd21: add DMA peripheral to init

This commit is contained in:
Koen Zandberg 2020-06-11 11:05:13 +02:00
parent 6be1b27bbb
commit 5dc1d87f74
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -266,6 +266,10 @@ void cpu_init(void)
cortexm_init();
/* Initialise clock sources and generic clocks */
clk_init();
#ifdef MODULE_PERIPH_DMA
/* initialize DMA streams */
dma_init();
#endif
/* initialize stdio prior to periph_init() to allow use of DEBUG() there */
stdio_init();
/* trigger static peripheral initialization */