zephyr/soc/arm/st_stm32/stm32f7
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 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dts_fixup.h i2c: Rename CONFIG_I2C_[0..5]_NAME -> DT_I2C_[0..5]_NAME 2019-10-23 11:31:32 -05:00
flash_registers.h arm: soc: move arm SoCs to top-dir 2018-09-13 00:56:48 -04:00
Kconfig.defconfig.series drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00
Kconfig.defconfig.stm32f723xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.defconfig.stm32f746xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.defconfig.stm32f756xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.defconfig.stm32f769xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.series kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.soc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
linker.ld arm: soc: move arm SoCs to top-dir 2018-09-13 00:56:48 -04:00
soc.c soc: arm: move z_clearfaults() in kernel_arch_init() 2019-05-17 09:48:11 -07:00
soc.h drivers: dma: add generic driver support for some series of stm32 2019-11-06 14:14:39 +01:00