Skip to main content
ST Employee
April 20, 2021
Question

STM32 MW USB Device Library v2.8.0 release on GitHub

  • April 20, 2021
  • 1 reply
  • 1478 views

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:

https://htmlpreview.github.io/?https://github.com/STMicroelectronics/stm32_mw_usb_device/blob/master/Release_Notes.html

Overview of the STM32 MW USB Device Library:

https://wiki.st.com/stm32mcu/wiki/USB_overview#USB_device_library_overview

    This topic has been closed for replies.

    1 reply

    Graduate II
    August 12, 2021

    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

    ST Employee
    September 9, 2021

    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:

    GitHub - STMicroelectronics/stm32_mw_usb_device: Provides the USB Device library part of the STM32Cube MCU Component "middleware" for all STM32xx series.

    Please do not hesitate to ask if you have other questions.

    Thanks & Regards,

    Hana