Loading...
 
Skip to main content

System Workbench for STM32


is sw4stm32 open source

I was trying to auto generate project files for sw4stm32 by generating correct XML. cmake already has Eclipse CDT4 generator, so its not much big deal to also generate for openstm32.

However, trying to open properties - c/c++ build -> settings, causes a crash in fr.ac6.mcu.ide.build.CrossCommandLineGenerator.generateCommandLineInfo(CrossCommandLineGenerator.java:137) because i havent generated something correctly.

Is it possible to see that file, so i can know whats wrong with my .project / .cproject?

Hi

Sorry, System Workbench for STM32 is not open-source.
The setting menu is crashing because no compiler prefix option is found.

Are you sure your generated project is using the "fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug" or "fr.ac6.managedbuild.toolchain.gnu.cross.exe.release" toolchain. The compiler prefix is usually set to its default value "arm-none-eabi-" automatically.

It might be quicker to compare your .cproject to the one from a new project created from the IDE to identify the mismatches.

Regard.

You found the problem exactly.
my mistake was missing fr.ac6.managedbuild.toolchain.gnu.cross.exe.*
I put that in, and its ok.