Last edited 3 weeks ago

STM32CubeMP2 Package release note

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.3.0, which is part of the STM32 MPU ecosystem release note v6.2.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.
  • Support added for M33-TD flavor More info green.png.
    • StarterApp application is added for all the boards:
      • It is a FreeRTOS based Non-Secure Cube Firmware application which runs on Cortex®-M33 and acts as a Application manager for the whole system.
      • It performs all the services by interacting with the TFM secure processing environment which is the master of the system.
      • It handles all SCMI requests made by Cortex®-A35 or Cortex®-M33 and arbitrates the handling on a priority basis.
      • It gives capability to the system for early display on system screen during boot.
      • It has a OpenAMP service which allows easy communication with userspace services running on Cortex®-A35.
      • It facilitates management of the power state of the Cortex®-A35 and the system.
    • M33TD_NSAppCore: A new Utility which eases development of different variants of StarterApp.
    • Template_StarterApp_M33TD: A minimal version of StarterApp suitable to be generated via CubeMX is added for all supported boards.
    • TestApp_M33TD: This application demonstrates how you can develop a Cube NS firmware (along with all the different FreeRTOS threads of StarterApp) when system has booted in M33TD configuration. This app is updated and is available for STM32MP257F-EV1 and STM32MP215F-DK.
  • LwIP Middleware is now supported
    • LwIP Applications are added for STM32MP257F-EV1 Evaluation board More info green.png, STM32MP257F-DK Discovery kit More info green.png, STM32MP215F-DK Discovery kit More info green.png
  • Updates are done to 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
    • STM32MP215F-DK Discovery kit More info green.png
  • Multi-core components
    • OpenAMP
    • ResourceManager
    • SCMIAgent
  • All the STM32MP257F-EV1 More info green.png, STM32MP257F-DK More info green.png, STM32MP257F-DK More info green.png for STM32MP23x lines evaluation , STM32MP215F-DK Discovery kit More info green.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]

  • Mass Market support for M33TD mode for all STM32MP2 series boards has been added.
  • LwIP Middleware support is added for STM32MP2. New
  • Applications using TFM (updated to version v2.1.3)
  • General driver updates and fixes.

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.
  • 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.

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.
  • 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]

  • LwIP Network applications today work only at a link speed of 1 Gbps.

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.3.0 -
STM32MP2xx HAL V1.3.0 -
BSP STM32MP257F_EV1 V1.3.0 -
BSP STM32MP257F_DK V1.3.0 -
BSP STM32MP235F_DK V1.3.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_20240315 -
STM32_USBPD_Library - Core v5.2.0_rc4
STM32_USBPD_Library - Device v1.0.0_rc2
Scmiagent v1.0.2 -
LwIP v2.2.0_20240202 -

6.3.3. Utilities[edit | edit source]

Component Version Notes
ResourceManager V1.3.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 and STM32MP215F-DK More info green.png 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 and STM32MP215F-DK More info green.png

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]



9. Archives Archive box.png[edit | edit source]

STM32MPU release STM32CubeMP2 Package release note
STM32CubeMP2 Package delivered with STM32 MPU-Ecosystem-v6.1.0 STM32CubeMP2 Package release note - v1.2.0
STM32CubeMP2 Package delivered with STM32 MPU-Ecosystem-v6.0.0 STM32CubeMP2 Package release note - v1.1.0