Last edited 4 days ago

STM32CubeMP2 Package release note - v1.2.0

Applicable for STM32MP21x lines, STM32MP23x lines, STM32MP25x lines

This article aims to describe the content of the software release included in the STM32CubeMP2 package, version v1.2.0, which is part of the STM32 MPU ecosystem release note v6.1.0.

1. Delivery purpose and scope[edit | edit source]

The STM32CubeMP2 package is a software package running on the Arm® Cortex®-M33 processor and is a fundamental part of the Yocto-based OpenSTLinux embedded software distribution.

This release includes:

  • The STM32Cube HAL: STM32 abstraction layer embedded software ensuring maximized portability across the STM32 portfolio. HAL APIs are available for all peripherals.
  • Low-layer APIs (LL APIs): Offering a fast, lightweight, expert-oriented layer that is closer to the hardware than the HAL. LL APIs are only available for a limited set of peripherals.
  • A consistent set of middleware components: such as FreeRTOS™ and OpenAMP.
  • All embedded software utilities: delivered with a full set of examples.

It also includes:

  • BSP (LEDs, Buttons, STPMIC25, COM Ports and other components) for the following boards
  • STM32MP257F-EV1 Evaluation board More info green.png,
  • STM32MP257F-DK Discovery kit More info green.png,
  • STM32MP257F-DK Discovery kit More info green.png for STM32MP23x lines evaluation Info.png
  • STM32MP215F-DK Discovery kit Info.png New


  • Multi-core components
  • OpenAMP
  • ResourceManager
  • SCMIAgent
  • Projects: several projects (examples, applications) are implemented in IDE delivered by ST
  • STM32CubeIDE delivered by ST
  • All the STM32MP257F-EV1 More info green.png, STM32MP257F-DK More info green.png, STM32MP257F-DK More info green.png for STM32MP23x lines evaluation Info.png, STM32MP215F-DK Discovery kit Info.png projects are available on STM32CubeIDE.

2. Intended Audience[edit | edit source]

The targeted audience is STM32 MPU customers and partners.

3. Licensing[edit | edit source]

All licenses applicable to STM32CubeMP2 package are available here.

4. Supported devices[edit | edit source]

The drivers provided within this package support all STM32MP21x lines More info.png, STM32MP23x lines More info.png and STM32MP25x lines More info.png.

5. Supported hardware[edit | edit source]

The software examples and the drivers delivered in this package are applicable for the following boards:


6. Release content[edit | edit source]

This is a maintenance release of the STM32CubeMP2 software package running on Arm® Cortex®-M33 core. The full content is available in STM32CubeMP2 Package content.

6.1. Main changes[edit | edit source]

  • Support for New Derivative STM32MP21x. New
  • BSP support added for a new board STM32MP215F-DK Discovery kit Info.png New
  • A whole set of examples and applications added for new board STM32MP215F-DK Discovery kit Info.png. New
  • FreeRTOS middleware updates to cater to CVE fixes.
  • ADC and USBPD applications updated to use SCMI communication to control power regulator.
  • Applications using TFM now support v2.1.0
  • Beta support for M33TD mode of STM32MP21x and STM32MP25x has been added.
  • General driver updates and fixes.
  • CMSIS version v5.9.0 - Updated

6.1.1. HAL drivers[edit | edit source]

  • This is a maintenance release of the STM32CubeMP2 package HAL drivers.
  • All HAL drivers have been checked for MISRA 2012 compliance, and most warnings have been resolved. The last remaining warnings could be solved by customers if needed.
  • Check the overview and all available HAL drivers in HAL drivers.

6.1.2. LL drivers[edit | edit source]

  • This is a maintenance release of the STM32CubeMP2 package LL drivers. There are some driver fixes for support of Arm® Cortex®-M0+ and a few MISRA fixes.
  • All LL drivers have been checked for MISRA 2012 compliance, and most warnings have been resolved. The last remaining warnings could be solved by customers if needed.
  • Check the overview and all available LL drivers here: LL drivers.

6.1.3. BSP[edit | edit source]

  • This is a maintenance release of the STM32CubeMP2 package BSP drivers.
  • Refer to the BSP Drivers section here: BSP drivers.
  • BSP has been added for the DK board with STM32MP21x lines More info.png. New

6.1.4. CMSIS[edit | edit source]

  • Bit and register definitions for
    • STM32MP25x lines More info.png
    • STM32MP23x lines More info.png
    • STM32MP21x lines More info.png. New
  • Support for System, Startup, and Linker files.
  • For more details, refer to CMSIS.

6.1.5. Middleware[edit | edit source]

6.1.6. Projects[edit | edit source]

  • Check project section here Projects for details about implemented projects .
Info white.png Information
Note: For detailed information, read file Release_Notes.html delivered with the STM32CubeMP2 Package.

6.2. Main restrictions[edit | edit source]

None


6.3. Released components[edit | edit source]

6.3.1. Drivers[edit | edit source]

Component Version Notes
Cortex®-M CMSIS V5.9.0 -
STM32MP2xx CMSIS V1.2.0 -
STM32MP2xx HAL V1.2.0 -
BSP STM32MP257F_EV1 V1.2.0 -
BSP STM32MP257F_DK V1.2.0 -
BSP STM32MP235F_DK V1.2.0 -

Find here the list of available HAL , LL and BSP drivers.

6.3.2. Middleware[edit | edit source]

Component Version Notes
FreeRTOSTM v10.6.0_20241011 -
OpenAMP v2022.10_20230315 -
STM32_USBPD_Library - Core v5.2.0_rc4
STM32_USBPD_Library - Device v1.0.0_rc2
Scmiagent v1.0.0

6.3.3. Utilities[edit | edit source]

Component Version Notes
ResourceManager V1.2.0 -

6.4. Released projects[edit | edit source]

The STM32CubeMP2 package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects. The main supported development environment is STM32CubeIDE (works on multiple operating systems) and uses the GNU toolchain.

  • All STM32MP257F-EV1 More info green.png, STM32MP257F-DK More info green.png, STM32MP257F-DK More info green.png for STM32MP23x lines evaluation Info.png and STM32MP215F-DK Info.png New projects are available with STM32CubeIDE.

Find in this article STM32MP2x Projects, the exhaustive list of available projects for STM32MP257F-EV1 Evaluation board More info green.png, STM32MP257F-DK Discovery kit More info green.png, STM32MP257F-DK Discovery kit More info green.png for STM32MP23x lines evaluation Info.png and STM32MP215F-DK Info.png New

The recommended supported toolchain for STM32MP2 is now STM32CubeIDE (all-in-one multi-OS development tool).

7. How to get started with STM32CubeMP2 Package[edit | edit source]

Refer to How to get software and start with this release article.

8. References[edit | edit source]