This post is about using OpenSTM32 plugins for Eclipse and STM32CubeMX with Ubuntu 14.10.
OpenSTM32  is a project aiming at making embedded development for STM32 microcontroller easier with Eclipse. "System Workbench for STM32 - Bare Metal Edition" features are described at . There is an all-in-one installer for Microsoft Windows, but none for GNU/Linux. See the manual instructions at .
Once the installation site is added to Eclipse, you get the following plugin available:
Support will be installed into Eclipse, and the whole GCC-based ARM compiler suite will be installed as well (as dependencies of External Tools for Linux (64 bits)). OpenOCD is also installed. OpenOCD supports the embedded ST-Link for Single Wire Debugging aka SWD.
To create a first test project, see . When I attempt to build my project, I get the following error message:
arm-none-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
It is weird, because the requested cc1 is found in /eclipse/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_184.108.40.206503101252/tools/compiler/lib/gcc/arm-none-eabi/4.8.4/cc1 as expected, but when I try to run it manually, it gives the same error message (while the file is obviously there and set as an executable).
Unfortunately, there seems to have a problem with the supplied build chain. Many of the binaries found in /eclipse/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_220.127.116.11503101252/ fails the same way.
I use instead ARM's own GCC ARM Embedded packages for Ubuntu (see ).
STM32CubeMX  is a standalone tool for generating initialization and start-up code for the whole family of STM32 microcontrollers. The tool is released for Microsoft Windows only, but is in fact a multi-platform tool in Java. Some clever Joe managed to run it on GNU/Linux quite easily .
Example pinout assignment for my vjCanUsb project.
|||OpenSTM32, System Workbench for STM32 - Bare Metal Edition, http://www.openstm32.org/System+Workbench+for+STM32|
|||OpenSTM32, Install instructions, http://www.openstm32.org/Installing+System+Workbench+for+STM32+from+Eclipse|
|||OpenSTM32, Getting started, http://www.openstm32.org/Getting+started+with+System+Workbench+for+STM32|
|||ARM, GCC ARM Embedded, https://launchpad.net/gcc-arm-embedded|
|||ST, STM32CubeMX, http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF259242|
|||FiveVolt blog, Installing STM32CubeMX on Linux, http://fivevolt.blogspot.de/2014/07/installing-stm32cubemx-on-linux.html|