STM32CubeU5 icon indicating copy to clipboard operation
STM32CubeU5 copied to clipboard

Typo in comment for DMA_CSR_SUSPF

Open SDS-BastienLS opened this issue 3 years ago • 2 comments

There is a typo in the comment, line 6621, file "Drivers\CMSIS\Device\ST\STM32U5xx\Include\stm32u575xx.h".

Original file:

#define DMA_CSR_USEF_Msk                    (0x1UL << DMA_CSR_USEF_Pos)             /*!< 0x00001000 */
#define DMA_CSR_USEF                        DMA_CSR_USEF_Msk                        /*!< User setting error flag            */
#define DMA_CSR_SUSPF_Pos                   (13U)
#define DMA_CSR_SUSPF_Msk                   (0x1UL << DMA_CSR_SUSPF_Pos)            /*!< 0x00002000 */
#define DMA_CSR_SUSPF                       DMA_CSR_SUSPF_Msk                       /*!< User setting error flag            */

Should be:

#define DMA_CSR_USEF_Msk                    (0x1UL << DMA_CSR_USEF_Pos)             /*!< 0x00001000 */
#define DMA_CSR_USEF                        DMA_CSR_USEF_Msk                        /*!< User setting error flag            */
#define DMA_CSR_SUSPF_Pos                   (13U)
#define DMA_CSR_SUSPF_Msk                   (0x1UL << DMA_CSR_SUSPF_Pos)            /*!< 0x00002000 */
#define DMA_CSR_SUSPF                       DMA_CSR_SUSPF_Msk                       /*!< Completed suspension flag          */

SDS-BastienLS avatar Mar 28 '22 12:03 SDS-BastienLS

ST Internal Reference: 125355

ASELSTM avatar Mar 29 '22 10:03 ASELSTM

Hi @SDS-BastienLS,

Thank you for this report. Indeed, you are right. The comment should be updated as you have mentioned. An internal bug tracker has been created and the fix will be made available in a future release.

With regards,

ASELSTM avatar Mar 29 '22 10:03 ASELSTM

Hi @SDS-BastienLS,

Thank you for your contribution. This issue has been fixed in the frame of version v1.2.0 of the STM32CubeU5. Please allow me then to close this thread.

With regards,

ASELSTM avatar Apr 06 '23 10:04 ASELSTM