Skip to main content
Rodo
Senior
December 7, 2025
Question

ThreadX or FreeRTOS with FileX?

Hi,

This is for STM32U5 and STM32H7 series MCUs.

I was starting to use ThreadX because it looked like it was preferred over FreeRTOS. Now it looks like it is going the other way FreeRTOS is preferred over ThreadX ... or so I read/watched.

I liked ThreadX with FileX because they seemed better integrated than FreeRTOS and say FATfs. But I don't have a lot of experience with RTOS in general. I've used a bit of FreeRTOS before but it looked like ThreadX was a better option for STM32U5 series MCU (in cubeMX).

The video I watched and info on going back to FreeRTOS  with separate FileX (from STM) said that it was going to happen by the end of 2025. 

I prefer to stay with one RTOS, whichever is going to make my life easier but I also need a file system.

We're at the end of 2025 so I wonder if this switch from ThreadX to FreeRTOS with separate FileX has already been implemented in the new STM32cubeIDE v 2.0? BTW I'm currently using STM32CubeIDE v1.19.0 with Windows 11.

Comments/suggestions welcome. Thanks. 

5 replies

Ghofrane GSOURI
ST Technical Moderator
December 8, 2025

Hello @Rodo 

Your question is being addressed under internal ticket 221918.

I will keep you updated with any progress.

THX

Ghofrane

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.
DrPi
Associate II
December 22, 2025

Hi,

I have the same request. I started a new project with a STM32U5 a few weeks ago. My board is ready to be manufactured. I intended to use ThreadX with USBX and FileX (SD Interface) but as @Rodo I've read that ThreadX is deprecated.

The last version of STM32CubeMX allows to use FreeRTOS with a STM32U5 but neither USBX nor FileX are there. 

I've been using FreeRTOS for many years but I never used ThreadX. I don't want to learn to use ThreadX if it is deprecated.

Will USBX and FileX be usable with FreeRTOS in a near future ?

 

Best,
Nicolas

DrPi
Associate II
February 14, 2026

Hello @Ghofrane GSOURI ,

The initial request is 2 months old now. Do you have an answer to provide us ?

Regards,
Nicolas

Rodo
RodoAuthor
Senior
September 27, 2026

My initial request is now 9 month old. Any info on this or should I ask the same question again? what does  ticket 221918 means anyway. I’d like an answer even if it is … hmmm we’re still thinking about it … LOL. Thanks.

Pavel A.
September 27, 2026

*An* answer probably is - neither of them. Use zephyr :)