2023-12-20 03:33 PM
I've set up the development environment for an STM32MP157F-DK2 kit including STM32CubeIDE. I'm following instructions to create a new application to run on the A7 under Linux, and CubeIDE cannot find the OpenSTLinux plugin. So I followed the instructions on the 'How to Install the Yocto Project SDK in STM32CubeIDE' wiki page (https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_install_the_Yocto_Project_SDK_in_STM32CubeIDE), but it never finds the default OpenSTLinux:
Unable to locate OpenSTLinux version 'openstlinux-6.1-yocto-mickledore-mp1-v23.06.21', choose continue to point to an existing SDK location and install sources plugin?
Would someone please point me in the right direction? Did I forget to install something?
Bryan
Solved! Go to Solution.
2023-12-21 03:14 PM
Thank you, Rim!
I'm actually using Ubuntu 22.04, and I tried your solutions (adapted for the Linux version), but they didn't work.
After hunting through the wiki for a long time, I finally did some digging in the STM32CubeIDE user manual (I know, RTFM), and it gave me enough to go on that I was able to solve my problem.
For those with the same problem as me: you need to put the path to the developer package SDK into the Window > Preferences > OpenSTLinux SDK Manager / Install Root Path. For my installation, the path is $HOME/STM32MPU_workspace/STM32MP1-Ecosystem-v5.0.0/Developer-Package/SDK (where $HOME is expanded to my user home directory). It's easiest to hit the Browse... button to get to the directory.
I'm still not sure if I missed an installation step or if this just isn't needed by most people, but hopefully this helps someone else.
Bryan
2023-12-21 02:40 AM
Hello @Bryan_H and welcome to the community,
Check that you have reloaded OpenSTLinux to download the installed plugins. It is located in Window -> Preferences -> Available Software Site.
Also, check the Internet connection, first select [Windows]>[Preferences]>[Network Setting], and then check the connection through the [Check Connection] button under [Windows]>[Preferences]>[STM32Cube]>[Firmware Updater].
Thanks,
Rim.
2023-12-21 03:14 PM
Thank you, Rim!
I'm actually using Ubuntu 22.04, and I tried your solutions (adapted for the Linux version), but they didn't work.
After hunting through the wiki for a long time, I finally did some digging in the STM32CubeIDE user manual (I know, RTFM), and it gave me enough to go on that I was able to solve my problem.
For those with the same problem as me: you need to put the path to the developer package SDK into the Window > Preferences > OpenSTLinux SDK Manager / Install Root Path. For my installation, the path is $HOME/STM32MPU_workspace/STM32MP1-Ecosystem-v5.0.0/Developer-Package/SDK (where $HOME is expanded to my user home directory). It's easiest to hit the Browse... button to get to the directory.
I'm still not sure if I missed an installation step or if this just isn't needed by most people, but hopefully this helps someone else.
Bryan