Showing results for 
Search instead for 
Did you mean: 

X-cube-classb support for STM32H7 and STM32L4 using single version?


Looking to add self test to a project using both STM32L4 and STM32H7

While going through the versions of x-cube-classb, it appears versions 2.2.0 must be used for STM32L4 and version 2.3.0 and further for STM32H7.

Is there a way to use same version of x-cube-classb, for both STM32L4 and STM32H7? and please let me know how it can be done?

ST Employee

Hello @viswa08 and welcome to the Community 🙂

X-CUBE-CLASSB version 4.0.0 also supports the STM32L4 series.

With 4.0.0 we’ve switched into new delivery format of the library - precompiled and fixed at object code based on set of APIs interface. Main target is to prevent compilation errors and unexpected behavior when older format (open source) is compiled later by a newer version of compiler or combined with an updated library (CMSIS or HAL).

Concerning safety mechanisms (testing methods) applied, there is no difference between previous and current formats. Both are fully validated.

Note H7 STL transfer into 4.0.0 is under current development focus to be available before end of this year.


When your question is answered, please close this topic by clicking "Accept as Solution".