diff options
Diffstat (limited to 'os/hal/ports/STM32/LLD/DMAv3')
-rw-r--r-- | os/hal/ports/STM32/LLD/DMAv3/notes.txt | 12 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c | 2 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h | 9 |
3 files changed, 5 insertions, 18 deletions
diff --git a/os/hal/ports/STM32/LLD/DMAv3/notes.txt b/os/hal/ports/STM32/LLD/DMAv3/notes.txt index a4e14d38d..556a2cc72 100644 --- a/os/hal/ports/STM32/LLD/DMAv3/notes.txt +++ b/os/hal/ports/STM32/LLD/DMAv3/notes.txt @@ -1,20 +1,14 @@ -STM32 DMAv2 driver.
+STM32 DMAv3 driver.
Driver capability:
-- The driver supports the STM32 enhanced DMA controller found on F2, F4 and
- F7 sub-families.
-- Support for automatic the channel selection.
+- The driver supports the STM32 enhanced DMA controller found on H7 sub-family.
- Support for cache flushing and invalidation.
The file registry must export:
-STM32_ADVANCED_DMA - TRUE not used by the DMA drivers but other
- drivers use it to enable checks on DMA
- channels. Probably will be removed in the
- future.
STM32_HAS_DMAx - Support for DMA unit "x" (1..2).
STM32_DMAx_CHn_HANDLER - Vector name for channel "n" (0..7).
-STM32_DMAn_CHx_NUMBER - Vector number for channel "n" (0..7).
+STM32_DMAx_CHn_NUMBER - Vector number for channel "n" (0..7).
STM32_DMA_CACHE_HANDLING - TRUE if the device requires explicit cache
handling on DMA buffers.
\ No newline at end of file diff --git a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c index ac1d71964..698fd21b8 100644 --- a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c +++ b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c @@ -15,7 +15,7 @@ */
/**
- * @file DMAv2/stm32_dma.c
+ * @file DMAv3/stm32_dma.c
* @brief Enhanced DMA helper driver code.
*
* @addtogroup STM32_DMA
diff --git a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h index 9c4302cc4..09c586b31 100644 --- a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h +++ b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h @@ -15,7 +15,7 @@ */
/**
- * @file DMAv2/stm32_dma.h
+ * @file DMAv3/stm32_dma.h
* @brief Enhanced-DMA helper driver header.
*
* @addtogroup STM32_DMA
@@ -30,13 +30,6 @@ /*===========================================================================*/
/**
- * @brief DMA capability.
- * @details if @p TRUE then the DMA is able of burst transfers, FIFOs,
- * scatter gather and other advanced features.
- */
-#define STM32_DMA_ADVANCED TRUE
-
-/**
* @brief Total number of DMA streams.
* @details This is the total number of streams among all the DMA units.
*/
|