1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00
Joshua DeWeese c888c103c2 cpu/stm32/periph/dma: fix dma_resume
As implmented, dma_resume assumed that transfers widths were 1 byte and
that the memory address incrmenting was always on and periphial address
incrementing always off. This resulted in memory corruption anytime
these assumptions were not true and a dma was resumed. The DMA module
allows intitiating transfers that did not meet these assumption.

This patch adds proper handling inside dma_resume to safely resume any
transfer. Clearifications and errors are added/fixed in the module's
header file. Also, a few constants are removed from the gobal namespace.
2022-10-26 09:36:45 -04:00
..
2022-09-15 12:12:23 +02:00
2022-09-15 12:12:23 +02:00
2022-09-15 12:12:23 +02:00
2022-09-15 12:12:23 +02:00
2022-09-15 12:12:23 +02:00
2022-09-14 15:05:25 +02:00
2021-12-02 16:33:19 +01:00
2022-09-23 15:55:05 +02:00
2022-09-23 15:55:05 +02:00
2022-09-23 15:55:05 +02:00
2022-09-23 15:55:05 +02:00
2022-09-14 15:05:25 +02:00
2021-07-09 10:47:42 +02:00