How to debug a user space application with STM32CubeIDE

Revision as of 13:01, 26 January 2021 by Registered User

This article is a guideline to user space projects fully integrated support, introduced in release 1.6.0 of STM32CubeIDE.

It covers executable, static or shared libraries support from project creation to debug.

1. Prerequisites[edit source]

Minimum hardware

  • STM32MP15x-based board
  • Linux console
  • Ethernet (or Ethernet over USB) for connection to Linux® Cortex®-A

Minimum software

2. STM32CubeIDE User Space[edit source]

From STM32CubeIDE release 1.6.0 it is possible to enrich an STM32MP15x hierarchical project with User Space type project.

>>>> Figure project tree !

User Space Executable project support

User Space Executable project support

User Space Executable project support


3. Eclipse CDT support[edit source]

From STM32CubeIDE release 1.6.0 it is also possible to create a STM32MP15x user space project from standard CDT Eclipse wizard.