This article explains how to install Yocto Project® SDK provided by OpenSTLinux in STM32CubeIDE.
1. Overview[edit | edit source]
On Linux® host, STM32CubeIDE supports OpenSTLinux projects and its associated Yocto Project® SDK. In order to build a given OpenSTLinux, it is mandatory to use the recommended Yocto SDK: one for STM32MP1 , one for STM32MP2
2. OpenSTLinux SDK Manager[edit | edit source]
The Yocto Project® SDK is first install on local disk, in an installation directory, thanks to STM32MPU_Developer_Package#Installing_the_SDK chapter.
Then inside STM32CubeIDE, a setup allows to point this installation directory. This wizard is available from "Window > Preferences" menu selecting OpenSTLinux SDK Manager
menu from STM32Cube
preferences. Its purpose is to fill the Install Root Path
.
It is then possible to install/uninstall the Yocto Project® SDK providing an empty Install Root Path
.
Yocto SDK removal is under final user responsibility.
3. Setup OpenSTLinux[edit | edit source]
Setup OpenSTLinux
contextual menu available from the Cortex®-A sub-project (named <project-name>_CA7 on STM32MP1, <projet-name>_CA35 on STM32MP2) is checking Yocto SDK set-up.
If no Yocto SDK is defined, it proposes to open OpenSTLinux SDK Manager
.
OpenSTLinux source support plugin is then installed:
- STM32MP1 source support plugin for STM32MP1-based project
- STM32MP2 source support plugin for STM32MP2-based project
These Eclipse® plugins allow to easily import OpenSTLinux projects.
To import OpenSTLinux projects, go in Help > About STM32CubeIDE, then STM32CubeIDE Installation Details
and finally Installed Software
.
.