Add DMA support to STM32L0

STM32L0 uses the same DMA peripheral as STM32F0, F1, L1 and others
with some differences. Those are mostly in the number of supported
controllers and channels.

This patch enables the basic support with no attempt to only expose
the available controllers / channels.

For more information see the ST Application Note AN2548.

Signed-off-by: Martin Sivak <mars@montik.net>
This commit is contained in:
Martin Sivak
2018-04-29 17:25:20 +02:00
committed by Karl Palsson
parent 54c6c833fe
commit f0e128673d
3 changed files with 40 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ OBJS += spi_common_all.o spi_common_v1.o spi_common_v1_frf.o
OBJS += gpio_common_all.o gpio_common_f0234.o rcc_common_all.o
OBJS += adc_common_v2.o
OBJS += crs_common_all.o
OBJS += dma_common_l1f013.o
OBJS += exti_common_all.o
OBJS += flash.o flash_common_l01.o
OBJS += i2c_common_v2.o