Loading...
 

STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


You are viewing a reply to Working example Project!?  

Re: Working example Project!?

Dear Sasha,

following some notes after comparing your logs (USR) with mine (STF).

1. You seem to have an older version of SistemWorkbench
eclipse.buildId=4.4.1.M20140925-0400 (USR)
eclipse.buildId=4.4.2.M20150204-1700 (STF)
I don’t think that it is related with your problem, but if you want to update System Workbench you can use the menu command Help > Check for Updates

2. You are using a Java 8 VM
java.home=C:\Program Files\Java\jre1.8.0_31 (USR)
java.home=C:\Program Files\Java\jre7 (STF)
This is a more interesting point. Eclipse Luna should be ready for Java 8, but I’m not 100% sure. Could you test if System Workbench works well with a JRE7? A simple way to proceed is to copy a default JRE folder (for example the one installe by the standard JRE7 setup) in the root folder of System Workbench, that in your case is C:\Ac6\SystemWorkbench. At the startup, if Eclipse finds a JRE folder in its root folder, it uses that JRE insteadof the default system JRE.

3. in your .log file there are some exceptions:
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.(Path.java:183)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:182)
at fr.ac6.mcu.ide.process.SetConfigOperation.run(SetConfigOperation.java:94)

java.lang.NullPointerException
at org.eclipse.core.runtime.Path.(Path.java:183)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:182)
at fr.ac6.mcu.ide.process.SetProjectStructureOperation.run(SetProjectStructureOperation.java:92)

java.io.IOException: Cannot run program “gcc”: Launching failed
at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:349)

Once again maybe they depends on some incopatibility with Java8.

Regards,
Stefano