Registered User mNo edit summary |
Registered User mNo edit summary Tag: 2017 source edit |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{ApplicableFor | |||
|MPUs list=STM32MP13x, STM32MP15x, STM32MP23x, STM32MP25x | |||
|MPUs checklist=STM32MP13x, STM32MP15x, STM32MP23x, STM32MP25x | |||
}}</noinclude> | |||
This article is a guideline to user space project support, which is fully integrated from release 1.6.0 of STM32CubeIDE. | This article is a guideline to user space project support, which is fully integrated from release 1.6.0 of STM32CubeIDE. | ||
It covers executable, static or shared libraries support from project creation to debug. It also gives some tracks | 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<sup>®</sup> CDT™ project wizard. | ||
{{Important| This article has been written with the example of {{MicroprocessorDevice | device=15}} but it is applicable to any lines present in applicability field displayed on the top of this article }} | |||
== | ==Prerequisite== | ||
'''Minimum hardware''' | '''Minimum hardware''' | ||
* | |||
* Linux console | * {{MicroprocessorDevice | device=1}} based board | ||
* Linux<sup>®</sup> console | |||
* Ethernet (or Ethernet over USB) for connection to Linux<sup>®</sup> Cortex<sup>®</sup>-A | * Ethernet (or Ethernet over USB) for connection to Linux<sup>®</sup> Cortex<sup>®</sup>-A | ||
Line 12: | Line 18: | ||
* STM32CubeIDE v1.6.0 installed and | * STM32CubeIDE v1.6.0 installed and | ||
** [[How_to_get_started_with_STM32CubeIDE_from_scratch|STM32MP15 project created]] | ** [[How_to_get_started_with_STM32CubeIDE_from_scratch|STM32MP15 project created]] | ||
** [[ | ** [[How to install the Yocto Project SDK in STM32CubeIDE |Yocto SDK installed]] through the "Setup OpenSTLinux" Cortex<sup>®</sup>-A contextual menu | ||
==STM32CubeIDE | ==STM32CubeIDE <sup>®</sup> user space== | ||
From STM32CubeIDE release 1.6.0 it is possible to enrich an STM32MP15x hierarchical project with '''''User Space''''' type | From STM32CubeIDE release 1.6.0, it is possible to enrich an STM32MP15x hierarchical project with '''''User Space''''' type projects. | ||
[[File:CubeIDEUserSpaceTree.png|250px|thumb|center|'' | [[File:CubeIDEUserSpaceTree.png|250px|thumb|center|''STM32MP15x project enriched with Linux user space projects'' ]] | ||
Possible '''''User Space''''' type projects are: | |||
* [[How to debug a user space application with STM32CubeIDE/User space project|executable]] project support - myExe | * [[How to debug a user space application with STM32CubeIDE/User space project|executable]] project support - myExe | ||
* [[How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_static_library_project|static library]] project support - myStaticLib | * [[How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_static_library_project|static library]] project support - myStaticLib | ||
* [[How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_shared_library_project|shared library]] project support - mySharedLib | * [[How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_shared_library_project|shared library]] project support - mySharedLib | ||
* [[How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_GTK_library_project|GTK library]] usage example - GtkHelloWorld | |||
==Eclipse<sup>®</sup> CDT™ STM32 Linux<sup>®</sup> user space== | |||
From STM32CubeIDE release 1.6.0, it is also possible to easily create an STM32MP15x user space project from the standard CDT™ Eclipse<sup>®</sup> wizard. | |||
In that case, the user space project is not part of any STM32MP15x hierarchical project and appears as a standalone project in Eclipse<sup>®</sup> project explorer view: ''myCdtProject'' below: | |||
[[File:CDTExeTree.png|thumb|250px|center|''CDT™ Linux<sup>®</sup> user space project'']] | |||
* [[How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_CDT_project|STM32MP15x Linux user space executable from | * [[How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_CDT_project|STM32MP15x Linux<sup>®</sup> user space executable from CDT™ wizard]] project support - myCdtProject | ||
<noinclude> | <noinclude> | ||
[[Category:STM32CubeIDE|15]] | [[Category:STM32CubeIDE|15]] | ||
{{PublicationRequestId | 19680 (LudovicB) |2021-04-20 }} | |||
</noinclude> | </noinclude> |
Latest revision as of 17:19, 14 April 2025
This article is a guideline to user space project support, which is fully integrated from release 1.6.0 of 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.
1. Prerequisite[edit | edit source]
Minimum hardware
- STM32MP1 series based board
- Linux® console
- Ethernet (or Ethernet over USB) for connection to Linux® Cortex®-A
Minimum software
- STM32CubeIDE v1.6.0 installed and
- STM32MP15 project created
- Yocto SDK installed through the "Setup OpenSTLinux" Cortex®-A contextual menu
2. STM32CubeIDE ® user space[edit | edit source]
From STM32CubeIDE release 1.6.0, it is possible to enrich an STM32MP15x hierarchical project with User Space type projects.
Possible User Space type projects are:
- executable project support - myExe
- static library project support - myStaticLib
- shared library project support - mySharedLib
- GTK library usage example - GtkHelloWorld
3. Eclipse® CDT™ STM32 Linux® user space[edit | edit source]
From STM32CubeIDE release 1.6.0, 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:
- STM32MP15x Linux® user space executable from CDT™ wizard project support - myCdtProject