zephyr/drivers/dma
Song Qiang 749d2d21bf drivers: dma: add generic driver support for some series of stm32
This commit adds driver support for DMA on f0/f1/f2/f3/f4/l0/l4
series stm32.

Notice due to some bugs, this is currently not working with f7.

There are two kinds of IP blocks are used across these stm32, one is the
one that has been used on F2/F4/F7 series, and the other one is the one
that has been used on F0/F1/F3/L0/L4 series.

Memory to memory transfer is only supported on the second DMA on
F2/F4 with 'st,mem2mem' to be declared in dts.

This driver depends on k_malloc to allocate memory for stream instances,
so CONFIG_HEAP_MEM_POOL_SIZE must be big enough to hold them.

Common parts of the driver are in dma_stm32.c and SoC related parts are
implemented in dma_stm32_v*.c.

This driver has been tested on multiple nucleo boards, including
NUCLEO_F091RC/F103RB/F207ZG/F302R8/F401RE/L073RZ/L476RG with the
loop_transfer and chan_blen_transfer test cases.

Signed-off-by: Song Qiang <songqiang1304521@gmail.com>
2019-11-06 14:14:39 +01:00
..
CMakeLists.txt drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00
Kconfig drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00
Kconfig.cavs kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nios2_msgdma kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam_xdmac kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00
dma_cavs.c cleanup: include/: move dma.h to drivers/dma.h 2019-06-27 22:55:49 -04:00
dma_cavs.h
dma_handlers.c kernel: Port remaining syscalls to new API 2019-09-12 11:31:50 +08:00
dma_nios2_msgdma.c cleanup: include/: move dma.h to drivers/dma.h 2019-06-27 22:55:49 -04:00
dma_sam0.c drivers: dma: sam0: fix DMA to peripheral transfer on SAMD5x 2019-11-05 23:29:50 +01:00
dma_sam_xdmac.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
dma_sam_xdmac.h
dma_stm32.c drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00
dma_stm32.h drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00
dma_stm32_v1.c drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00
dma_stm32_v2.c drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00