stm32cubeide cannot install custom made sdk
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.
