Difference between revisions of "How to install Yocto SDK in STM32CubeIDE"

[unchecked revision] [quality revision]
m
m
 

This article explains the way STM32CubeIDE is managing Yocto SDK provided by OpenSTLinux.

1 Overview[edit]

Two flavors are proposed for installing Yocto SDK:

  • Yocto SDK is already installed on host workstation, typically after a download of the STM32MP1 OpenSTLinux Developer Package. In that case, only a setup is needed for STM32CubeIDE to use it.
  • Yocto SDK is not present on host workstation, it can be installed via STM32CubeIDE.

The choice is proposed after the Setup OpenSTLinux menu, selecting Use existing.

OpenSTLinux SDK Installation Menu

Note that Setup setup OpenSTLinux phase includes also includes download and installation of OpenSTLinux Sources plugin.

2 Using already installed Yocto SDK[edit]

You have then to give the Yocto SDK Install Root Path in the STM32Cube Preferences.

OpenSTLinux SDK Manager

3 Installing Yocto SDK via STM32CubeIDE[edit]

This corresponds to the Download choice where OpenSTLinux SDK plugin is installed. Note that missing of OpenSTLinux required packages will lead to unpredictable Yocto SDK usage...

Warning white.png Warning
OpenSTLinux development requires specific packages on host workstation. See PC_prerequisites.


It is then possible to install Yocto SDK as:

  • external, on host workstation disk, outside STM32CubeIDE scope; Yocto SDK removal is under final user responsibility
  • embedded inside the STM32CubeIDE; Yocto SDK removal is managed by STM32CubeIDE via plugin OpenSTLinux SDK


OpenSTLinux SDK Install Location

The Yocto SDK installation script is then launched and appears in a STM32CubeIDE console.

OSTL SDK Install Script
OSTL-SDK-Install-Success.png

.

This article explains the way STM32CubeIDE is managing Yocto SDK provided by OpenSTLinux.
==Overview==
Two flavors are proposed for installing Yocto SDK:
* Yocto SDK is already installed on host workstation, typically after a download of the [https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-mpu-openstlinux-distribution/stm32mp1dev.html STM32MP1 OpenSTLinux Developer Package]. In that case, only a setup is needed for STM32CubeIDE to use it. 
* Yocto SDK is not present on host workstation, it can be installed via STM32CubeIDE.

The choice is proposed after the '''''Setup OpenSTLinux''''' menu, selecting ''Use existing''.
[[File:OSTL-SDK-Menu.png|500px|thumb|center|OpenSTLinux SDK Installation Menu]]
Note that Setupsetup OpenSTLinux phase includes also includes download and installation of '''OpenSTLinux Sources''' plugin.  

==Using already installed Yocto SDK==
You have then to give the Yocto SDK ''Install Root Path'' in the STM32Cube Preferences.
[[File:OSTL-SDK-Mgr.png|700px|thumb|center|OpenSTLinux SDK Manager]]

==Installing Yocto SDK via STM32CubeIDE==
This corresponds to the ''Download'' choice where '''OpenSTLinux SDK''' plugin is installed.
Note that missing of OpenSTLinux required packages will lead to unpredictable Yocto SDK usage... 
{{Warning|OpenSTLinux development requires specific packages on host workstation. See [[PC_prerequisites]].}}

It is then possible to install Yocto SDK as:
* '''''external''''', on host workstation disk, outside STM32CubeIDE scope; Yocto SDK removal is under final user responsibility
* '''''embedded''''' inside the STM32CubeIDE; Yocto SDK removal is managed by STM32CubeIDE via plugin '''OpenSTLinux SDK''' 

[[File:OSTL-SDK-Embed-External.png|500px|thumb|center|OpenSTLinux SDK Install Location]]

The Yocto SDK installation script is then launched and appears in a STM32CubeIDE console.

[[File:OSTL-Sdk-Install.png|800px|thumb|center|OSTL SDK Install Script]]

[[File:OSTL-SDK-Install-Success.png|400px|thumb|center]]
<noinclude>.
[[Category:STM32CubeIDE|13]]</noinclude>
Line 7: Line 7:
 
The choice is proposed after the '''''Setup OpenSTLinux''''' menu, selecting ''Use existing''.
 
The choice is proposed after the '''''Setup OpenSTLinux''''' menu, selecting ''Use existing''.
 
[[File:OSTL-SDK-Menu.png|500px|thumb|center|OpenSTLinux SDK Installation Menu]]
 
[[File:OSTL-SDK-Menu.png|500px|thumb|center|OpenSTLinux SDK Installation Menu]]
Note that Setup OpenSTLinux phase also includes download and installation of '''OpenSTLinux Sources''' plugin.   
+
Note that setup OpenSTLinux phase includes also download and installation of '''OpenSTLinux Sources''' plugin.   
   
 
==Using already installed Yocto SDK==
 
==Using already installed Yocto SDK==