2024-06-19 08:30 AM - edited 2024-06-19 08:32 AM
Hello,
I am developing using the OpenSTLinux Ecosystem 4.1 Distribution package. And I generate "SDK by bitbake -c populate_sdk st-image-core", and obtained the SDK (I think it is the same to the Developer Package offererd by st.com). After that, I run the xxx.sh file inside the deploy/sdk path and finally installed it into /opt directory. Until then, everything is OK.
When I open STM32CubeIDE (version 1.15.1) to install the SDK, every time I choose the SDK installation path where there is a sysroot directory, STM32CubeIDE complains that
An internal error occurred during: "OpenSTLinux Lookup".
java.lang.NullPointerException
Here is the directory structures of my own SDK installation.
jason@dell15:/opt/st/stm32mp1-dragonli5$ tree 4.0.11-snapshot/ -L 2
4.0.11-snapshot/
├── environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
├── site-config-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
├── sysroots
│ ├── cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
│ └── x86_64-ostl_sdk-linux
└── version-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
3 directories, 3 files
I can source the environment-setup-xxx.sh and everything is OK.
I had tested the with STM32CubeIDE and the SDK in Ubuntu 22.04(WSL2) and Ubuntu 20.04 in a real machine. Always the same results.
So, what is the problem? Anyone can help?
Thanks in advance.
Best regards.
2024-06-24 12:18 AM
Anyone can help? I totally has no clue what's wrong with the SDK.
2024-06-28 04:47 AM
Hi @jasonj2 ,
Sorry to come late in the thread.
I read you are using OSTL DV4.1 and CubeIDE 1.15
This is not valid setup, CubeIDE 1.15 support only latest DV5.0 OSTL.
Moreover to add a custom SDK in CubeIDE it might sctricly respect exact same name as the default one.
Hope it help
OIivier