2024-12-19 11:12 PM - last edited on 2026-01-24 11:32 AM by mƎALLEm
We are currently working on a project with the STM32U5 series running FreeRTOS and need to integrate the USB Mass Storage (MSC) class for adding pendrive / thumbdrive support. While exploring solutions, we noticed that CubeIDE doesn't directly support USB class configuration for USB host, and AzureRTOS's USBX seems to be the default recommendation. However, switching to AzureRTOS is not feasible for our project since FreeRTOS is deeply integrated into our system.
So we’d like to know:
* Can you please provide USB MSC stack for freertos as well for stm32U5 ?
* If not, do you recommend any third party USB stack for this purpose?
* Do you recommend the integration of TinyUSB open source stack ?
2026-01-26 5:54 AM
Hi @nfkt
We recommend using USBX stack with FreeRTOS. Check this knowledge base article How to add USBX to an STM32 FreeRTOS™ project.
If you still encounter difficulties, feel free to come back with more details about your setup and the issues you are seeing.
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.