cancel
Showing results for 
Search instead for 
Did you mean: 

Get a preview of the latest STM32Cube HAL update for STM32U5 on GitHub today

Maxime_MARCHETTO
Community manager
Community manager

This preview allows you to explore the new HAL2, providing valuable insights into the improvements we are making to simplify and optimize your development experience. 

We highly encourage you to share your feedback through our dedicated channels. Your input is essential to help us refine HAL2 and ensure it meets your needs before its official release. 

How to access the preview 

The preview version of STM32Cube HAL2 for the STM32U5 series is available on the GitHub repository STM32CubeU5-V2-Preview. 

What is coming with the updated HAL2 

HAL2 expands the features of the previous HAL to enhance developer journey. It offers improvements in the following areas: 

  • Performance and footprint 
  • Portability across the STM32 portfolio 
  • Integration with multiple RTOS 
  • API user-friendliness and usability  

For instance, these improvements include: 

  • The split of the initialization API into two for greater flexibility: one for initialization and one for configuration 
  • The added feature of HAL drivers, which allows them to call exclusively the LL drivers when LL drivers are already present 
  • Additional API granularity for dealing with heavy processes such as clock management and IRQ handling 

Access the repository to find samples and new documentation  

 Alongside the improvements coming with HAL2, we have also updated additional related components.

The repository provides additional documentation, including an example with STM32Cube for Visual Studio Code, as well as samples of what is soon to come: 

  • The examples have been updated to utilize the HAL2 improvements. They have undergone changes to their structure, and the READMEs have been redesigned to better support the use of the examples. 
  • We are also introducing a new online documentation platform with enhanced content that offers a more intuitive way to navigate and find the right documentation. 
  • As part of the STM32Cube MCU Package, a new device family pack (DFPprovides the essential elements that support application development. 
  • Evolving from BSP components, a new part driver feature improves support for external components such as LEDs, external memory, and more.  

We hope you will enjoy exploring the HAL2 preview and look forward to receiving your feedback. 

 Please feel free to reach out with any questions.

Additional resource

First published on Jul 15, 2025