This article explains:
- how to install OpenSTLinux SDK in STM32CubeIDE,
- how install the OpenSTLinux plugin enabling the import of sources of a project in STM32CubeIDE.
1. Prerequisites[edit | edit source]
- Linux® environment is mandatory.
- The Yocto Project®/ OpenSTLinux SDK is installed on local disk, in an installation directory, thanks to STM32MPU_Developer_Package#Installing_the_SDK chapter.
2. Install OpenSTLinux SDK in STM32CubeIDE[edit | edit source]
Inside STM32CubeIDE, a setup allows to point this installation directory.
This wizard is available from Window > Preferences menu selecting STM32Cube > OpenSTLinux SDK Manager menu.
- Fill the
Install Root Pathwith the folder where you installed the SDK. - Click on
Applyto see the SDK inAvailable OpenSTLinux SDK. - Select it and
Apply and close
Later, if you need to uninstall the Yocto Project® SDK, the Install Root Path must be empty then press Apply and close .
Yocto SDK removal, from the disk, is under final user responsibility.
3. Install OpenSTLinux plugin sources[edit | edit source]
Prerequisites:
- You created an OpenSTLinux project by following this page and selected during the creation with CubeMX
MPx OpenSTLinux: How_to_create_STM32MPU_projects_with_STM32CubeMX - Imported the OSTL project in STM32CubeIDE: How_to_import_STM32MPU_project_generated_by_STM32CubeMX_in_STM32CubeIDE
The OpenSTLinux plugin allows to easily import OpenSTLinux projects sources.
To install the OpenSTLinux plugin, go into Window > Preferences > Install/update > Available Software Sites, it is then recommended to disable all the update sites except OpenSTLinux update site.
Select it and click on Reload.
If no Yocto SDK is defined, it proposes to open OpenSTLinux SDK Manager.
Setup is finalized thanks to Cortex®-A contextual menu in the Project Explorer: Setup OpenSTLinux.
During OpenSTLinux plugin installation, you have to trust Update Site thanks to corresponding checkbox.
Now, you can check that OpenSTLinux plugin has been installed:Help > About STM32CubeIDE >Installation Details.
OpenSTLinux plugin is then installed.
.