Last edited 6 days ago

How to develop an OpenSTLinux user space application with STM32CubeIDE

Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP21x lines, STM32MP23x lines, STM32MP25x lines

This article is a guideline to user space project support, integrated in STM32CubeIDE.

It covers executable, static or shared libraries support from project creation to debug. It also gives some tracks to easily use the GTK library or start a new project from the standard Eclipse® CDT™ project wizard.

Warning DB.png Important
This article has been written with the example of STM32MP15x lines More info.png but it is applicable to any lines present in applicability field displayed on the top of this article

1. Prerequisites[edit | edit source]

Minimum hardware

  • Any STM32 MPU boards More info green.png
  • Linux® console
  • Ethernet (or Ethernet over USB) for connection to Linux® Cortex®-A

Minimum software

2. STM32CubeIDE ® user space[edit | edit source]

In STM32CubeIDE, it is possible to enrich an STM32MPU hierarchical project with User Space type projects.

STM32MP15x project enriched with Linux user space projects

Possible User Space type projects are:


3. Eclipse® CDT™ STM32 Linux® user space[edit | edit source]

In STM32CubeIDE, it is also possible to easily create an STM32MP15x user space project from the standard CDT™ Eclipse® wizard.

In that case, the user space project is not part of any STM32MP15x hierarchical project and appears as a standalone project in Eclipse® project explorer view: myCdtProject below:


CDT™ Linux® user space project