Skip to main content
Uwe Bonnes
Chief
April 20, 2024
Solved

Headers in STM32Cube_FW_U5_V1.5.0 do not contain latest fix in ttps://github.com/STMicroelectronics

  • April 20, 2024
  • 3 replies
  • 1256 views

The headers STM32Cube_FW_U5_V1.5 in still contain the error regarding USB_OTG_GCCFG_FSVMINUS_Msk

This topic has been closed for replies.
Best answer by STTwo-32

Hello @Uwe Bonnes 

After checking this internally, I confirm that this was solved on the last commit on GitHub (after the release of Version 1.5.0) and it will be updated on other versions (on ST website and Cube repositories) on the coming release. This is already reported on the internal ticket number 170735.

Best Regards.

STTwo-32 

3 replies

STTwo-32
ST Technical Moderator
April 21, 2024

Hello @Uwe Bonnes 

Thank you for reporting this. Can you give more details about the error. 

Best regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Uwe Bonnes
Chief
April 21, 2024

Clone https://github.com/STMicroelectronics/cmsis_device_u5.git

Do "git log -p" :

-#define USB_OTG_GCCFG_FSVMINUS_Msk 0x1U << USB_OTG_GCCFG_FSVMINUS_Pos) /*!< 0x00000004 */
+#define USB_OTG_GCCFG_FSVMINUS_Msk (0x1U << USB_OTG_GCCFG_FSVMINUS_Pos) /*!< 0x00000004 */

 

The last commit fixed the missing opening brace for USB_OTG_GCCFG_FSVMINUS_Msk. No look at STM32Cube/Repository/STM32Cube_FW_U5_V1.5.0/Drivers/CMSIS/Device/ST/STM32U5xx/Include/stm32u599xx.h

It still has the definition w/o the opening brace

#define USB_OTG_GCCFG_FSVMINUS_Msk 0x1U << USB_OTG_GCCFG_FSVMINUS_Pos) /*!< 0x00000004 */

STTwo-32
STTwo-32Best answer
ST Technical Moderator
April 22, 2024

Hello @Uwe Bonnes 

After checking this internally, I confirm that this was solved on the last commit on GitHub (after the release of Version 1.5.0) and it will be updated on other versions (on ST website and Cube repositories) on the coming release. This is already reported on the internal ticket number 170735.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.