cpu/saml1x: Add DMA peripheral to init
This commit is contained in:
parent
4ef0b85495
commit
ec1d575e7c
@ -166,6 +166,11 @@ void cpu_init(void)
|
|||||||
_gclk_setup(SAM0_GCLK_32KHZ, GCLK_GENCTRL_GENEN | GCLK_GENCTRL_SRC_OSCULP32K);
|
_gclk_setup(SAM0_GCLK_32KHZ, GCLK_GENCTRL_GENEN | GCLK_GENCTRL_SRC_OSCULP32K);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef MODULE_PERIPH_DMA
|
||||||
|
/* initialize DMA streams */
|
||||||
|
dma_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* initialize stdio prior to periph_init() to allow use of DEBUG() there */
|
/* initialize stdio prior to periph_init() to allow use of DEBUG() there */
|
||||||
stdio_init();
|
stdio_init();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user