The Eclipse plug-in did not really work for me and the IDE kept crashing. Instead I have resorted to installing stanadalone executable:
- Download the code generator
- Unzip it somewhere
java -jar SetupSTM32CubeMX-4.10.0.exe -console
- Answer every clumsy query
- If installed under default path, launch it as:
java -jar /usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX.exe