cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE can't setup OpenSTLinux

BlotCoo
Associate II

I've set the root path in the OpenSTLinux SDK manager, but when I try to download scarthgap from the 'install other software' dialog, it appears to download the SDK, but it never shows up. It's not at the path I specified either. I don't know where, or even if, it actually gets downloaded. When I try to setup openstlinux with the project, I always get an error that it failed to configure openstlinux with scarthgap. I'm assuming that's what's compatible with CubeIDE right now.

CubeIDE thinks it's installed though, it is hidden when I hide the items that are already installed. I've tried this on a Linux VM as well as WSL2 and the behavior is the same.

1 REPLY 1
BlotCoo
Associate II

I manually downloaded the SDK and was able to point CubeIDE to it. It installed the sources, but then it said something about a workbench plugin no longer being available and crashed. Now I can't even launch CubeIDE, it just crashes. This is what's in the logs:

!SESSION 2025-03-13 21:41:41.419 ----------------------------------------------- eclipse.buildId=Version 1.18.0 java.version=21.0.3 java.vendor=Eclipse Adoptium BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.osgi 4 0 2025-03-13 21:41:42.516 !MESSAGE Application error !STACK 1 org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:92) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:79) at org.eclipse.ui.internal.Workbench.getApplication(Workbench.java:689) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:558) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605) at org.eclipse.equinox.launcher.Main.run(Main.java:1481) at org.eclipse.equinox.launcher.Main.main(Main.java:1454)