2018-03-01 01:22 AM
Hello !
I found something which is probably a bug on the L4+ series stm32l4wwxx.h files (in example stm32l4r5xx.h)
There is the following code : (lines 14359 to 14364 in stm32l4r5xx.h )
&sharpdefine SDMMC_STA_DPSMACT_Pos (12U)
&sharpdefine SDMMC_STA_DPSMACT_Msk (0x1U << SDMMC_STA_CPSMACT_Pos) /*!< 0x00001000 */&sharpdefine SDMMC_STA_DPSMACT SDMMC_STA_CPSMACT_Msk /*!<Data path state machine active */&sharpdefine SDMMC_STA_CPSMACT_Pos (13U)&sharpdefine SDMMC_STA_CPSMACT_Msk (0x1U << SDMMC_STA_DPSMACT_Pos) /*!< 0x00002000 */&sharpdefine SDMMC_STA_CPSMACT SDMMC_STA_DPSMACT_Msk /*!<Command path state machine active */You may see that DPSMACT and CPSMACT are inverted between macros names and values.
This is present for all STM32L4+ headers available in en.stm32l4.zip (CubeL4 software, available on ST.com on March 1st 2018)
By the way, is there a more 'official' way to report such error or is posting on the forum is the right way to proceed ?
Best regards,
Julien FAUCHER
#stm32l4+ #header-file #bug-reportSolved! Go to Solution.
2018-08-06 02:54 AM
Hello,
The CMSIS files have been modified in the release STM32Cube_FW_L4_V1.12.0.
Best Regards,
Imen.
2018-03-01 05:22 AM
Hello
FAUCHER.Julien
,You are right, I will raise this issue internally for update.
Thanks for bringing this to our attention.
Best Regards,
Imen
2018-08-06 02:54 AM
Hello,
The CMSIS files have been modified in the release STM32Cube_FW_L4_V1.12.0.
Best Regards,
Imen.