Skip to main content
ST Employee
May 15, 2025

New strategic directions for STM32Cube

  • May 15, 2025
  • 26 replies
  • 14078 views

We are pleased to share some exciting developments in STM32Cube that will enhance your development experience and unlock the rich features of STM32 microcontrollers even further.

Transition to FreeRTOS and enhanced middleware offerings

We are moving back to FreeRTOS™ as the main kernel, integrating it with USBXFileX, and LWIP. This strategic shift will help us build a consistent middleware offering, set to be introduced before the end of this year. Notably, USBX and FileX will be available in both bare metal and RTOS-agnostic versions, providing greater flexibility and adaptability for your projects.

In parallel, we continue our investment in supporting leading open-source frameworks.

Launch of STM32Cube version 3 for Visual Studio Code

We are thrilled to announce the release of STM32Cube for VS Code, marking version 3 of the existing STM32 VS Code extension. This substantial upgrade is built on a new modular foundation, enabling you to selectively choose features and manage updates and installations with greater precision. The modularity boosts flexibility, streamlines updates, reduces setup time, and optimizes disk space usage, all while paving the way for a more ambitious STM32Cube VS Code roadmap.

Key benefits

Easy to deploy and maintain

  • Simplify the installation process by selecting a single extension pack for the complete STM32Cube for VS Code experience
  • Reduce maintenance effort with automatic installation of CLI tool dependencies and straightforward update workflows

Lightweight and fast

  • Experience a best-in-class and efficient C/C++ editing interface with VS Code
  • Leverage CMake-based build tools, a growing trend in C/C++ embedded industry, offering flexibility and fast builds

 Effortless STM32 debugging

  • Launch debug sessions on single-core STM32 devices without any setup required
  • Customize debug configurations easily with a content-assist powered editor

The new version is available today as a preview and will be continuously upgraded to surpass STM32CubeIDE features, aiming to become the main STM32 free IDE. During this transition period, STM32CubeIDE will be maintained. Currently, STM32CubeIDE is the best debugger for STM32 microcontrollers and can be used side-by-side with VS Code.

We are committed to supporting your development journey with these enhancements and look forward to seeing the innovative solutions you create with STM32Cube.

Stay tuned for more updates as we continue to evolve and improve our offerings.

Additional resources

First published on May 15, 2025

 

    This topic has been closed for replies.

    26 replies

    Graduate
    May 15, 2025

    Ok.

    Three years ago, you told us FreeRTOS is dead and you do not intend to fix bugs and support it anymore.

    Now you switch again to FreeRTOS.

    Now try to reply:

    Surprised that I am a litlle upset?

    What about tons of bugs we found on FreeRTOS?

    What should we say to all our customers we have recommended to switch to ThreadX?

    Even STM32CubeIde seems dead - my last report on bugs is only 2 month old and nothing happened.

    Ok, you do not have any interest in software and you are probably ready to switch to ever solution that propose new horizons instead of solving old problems and build consistent environment.

    Visitor II
    May 15, 2025

    second the comment of mbarg.1, there is definitely more explanation needed?

    Graduate
    May 15, 2025

    Dear ST Team,

    Your next work are already determined.

    Revive "ChaN's FatFs library support" for recently added newer STM.

    Best regards,
    Nemui.

    Super User
    May 15, 2025

    @Nemui Trinomius but they've said they're supporting FileX - so that seems unlikely?

    Graduate II
    May 15, 2025

    What about dual core mcu like h755/45?

    ST Employee
    May 20, 2025

    This post intends to provide additional information following the questions raised following the developer news and the STM32 summit about the transition to FreeRTOS and enhanced middleware offerings.

    The primary goal of STM32Cube Ecosystem is to help developers achieve more and faster, getting the most of STM32 features and focusing on their application and differentiators. In the context of middleware, the main value ST can bring to help developer saving time is optimized porting of middleware on STM32 hardware, with many ready-to-use application examples. Middleware configuration and debug assistance will help as well. STMicroelectronics aims to enable developer as well to cherry-pick in STM32Cube Ecosystem what they need into their own development environment. All software delivered in STM32Cube are free-of-charge with user-friendly license terms.

    The porting of RTOS and middleware on STM32 are maintained by STMicroelectronics in STM32Cube Middleware Libraries repositories. These repositories contain the latest updated version of RTOS, and middleware used by STMicroelectronics in STM32Cube framework, without the application examples.

    These ports are deployed on various STM32Cube Ecosystem elements and deliverables, across the large STM32 portfolio. You will find some different version of middleware, depending on the selected STM32 series and depending on where you start from.

    For instance, you may start from STM32Cube Examples delivered in STM32Cube MCU packages (for instance, STM32CubeH5) and in STM32Cube Expansions (for instance, X-CUBE-FREERTOS) . You may start as well from STM32CubeMX tool, or from GitHub repositories (for instance, STM32H5 classic core middleware)

    On the latest introduced STM32 series (STM32U5, STM32H5, STM32C0, STM32U0, STM32WBA, STM32N6, STM32U3), Azure RTOS was delivered as a primary offer in STM32Cube, with the main intention of bringing a consistent and professional grade USB, file system and TCP/IP stack.

    With the Azure RTOS components transferred by Microsoft to Eclipse foundation, renamed Eclipse ThreadX and going open-source under the MIT license, ST is committed to continue to provide support on existing STM32Cube packages including Azure RTOS. The safety artefacts formerly proposed by Microsoft are now available from Eclipse foundation, as a commercial offer.

    As most of STM32 users stayed on FreeRTOS and LwIP, ST took the opportunity to rework USBX and FileX/LevelX to decouple them from ThreadX and enable them to be used bare-metal or with other RTOS kernels. This will allow to leverage the existing base of USBX and FileX/LevelX application examples to be used with FreeRTOS (and other RTOS).

    These new versions for USBX and FileX/LevelX will be released on ST GitHub before end of this year, with some examples on few series of STM32.

     

     

    LoicCHOSSAT_0-1747728725856.png

     

     

    Super User
    May 20, 2025

    @Maxime_MARCHETTO So the key reason for the change was that more users were requesting FreeRTOS than ThreadX ?

     

    Graduate
    May 20, 2025

    From picture above, It seems that for H7 ThreadX will still be the main choice - please confirm, thank you.

    An official statement, would help me a lot.

    Mike Bargauan

    Graduate II
    May 20, 2025

    with the main intention of bringing a consistent and professional grade USB, file system and TCP/IP stack.

    It is confusing to me as to why ST would go away from this when ThreadX is also open source now. 

    I agree that a lot of users did not switch from FreeRTOS. Probably because the ThreadX offering was new?

    Now that ST has officially stopped supporting in CubeMX, I do not think that new/existing users would want to use ThreadX. Sad to see that!

    I was really happy with NetXDuo, the first time I tested it with H723 Nucleo, I got 8 MB/s throughput on 100 Mbps Ethernet line. Will ST support NetX driver porting for future devices (May be for the Qualcomm WiFi module)? Or is this out of scope?