2021-04-20 01:37 AM
What is new in STM32 USB Device Library v2.8.0?
* Integration of new USB device Class driver:
USB Printer Class driver based on Universal Serial Bus Device Class Definition for Printing Devices Version 1.1
* USB All Classes:
Fix USB buffer overflow vulnerability for CDC, CDC-ECM, CDC-RNDIS, DFU, AUDIO, CustomHID, and Video Classes
fix compilation warning with C++ due to missing casting during class handler allocation
Enhance comments of USB configuration descriptors fields
* USB Video Class:
fix missing closing bracket for extern "C" in usbd_video.h
fix USBCV test with Uncompressed video format support
Download link:
https://github.com/STMicroelectronics/stm32_mw_usb_device
Previous Releases information
Details about the content of different USB Device releases are available in the release note:
Overview of the STM32 MW USB Device Library:
https://wiki.st.com/stm32mcu/wiki/USB_overview#USB_device_library_overview
2021-08-12 11:27 AM
Hi,
I have STM32CubeMX v6.3.0 and installed MCU package STM32F1 v1.8.4.
It looks like my USB Device Library is 2.0 by looking at Software Packs Component Selector -> USB_DEVICE.
However, if I look at the release notes in:
C:/Users/User_Name/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.4/Middlewares/ST/STM32_USB_Device_Library/Release_Notes.html
then it indicates V2.5.3 / 30-April-2019. (?!)
How do I add Middleware USB Device MCU Component v2.8.0 to my system (Win10)? Do I just replace the directories Class and Core in
C:\Users\User_Name\STM32Cube\Repository\STM32Cube_FW_F1_V1.8.4\Middlewares\ST\STM32_USB_Device_Library
? Will the new device types (USB classes) show up automatically (in CubeMX)?
Thanks,
GB
2021-09-09 03:01 AM
Hello @Grant Bt,
Indeed, you have just to replace the directories "Class" & "Core" by the new ones.
CubeMX will include the recent library releases but to make sure that you are working with the latest USB Device library release, please refer to GitHub:
Please do not hesitate to ask if you have other questions.
Thanks & Regards,
Hana