The STM32CubeMX tool is written in portable java, but unfortunately it is distributed as a Windows executable embedded in a Windows installer.
To install it on Linux:
sudo java -jar SetupSTM32CubeMX-4.11.0.exe
- install the tool somewhere in your home, eg:
/home/you/stm32/cubemx
sudo chown -R you:you /home/you/stm32/cubemx
To run it:
java -jar /home/you/stm32/cubemx/STM32CubeMX.exe
- or mark that file as executable, rename it to
STM32CubeMX.jar
, and double click it
Thanks for the instructions! I'm using GalliumOS (based on Xubuntu) on my Chromebook and I'm finding that I need to use jdk 8 instead of 9, else I get an error running it:
then do the java commands like in your instructions. The
sudo ./SetupSTM32CubeMX-4.23.0.linux
someone mentioned above doesn't work for me.