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:
parent
6be1b27bbb
commit
5dc1d87f74
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user