Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing STM32CubeMX on Linux

Installing STM32CubeMX on Linux

The STM32CubeMX tool is written in portable java, but unfortunately it is distributed as a Windows executable embedded in a Windows installer.

To intall it on Linux:

  1. sudo java -jar SetupSTM32CubeMX-4.11.0.exe
  2. install the tool somewhere in your home, eg: /home/you/stm32/cubemx
  3. 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
@dmitvitalii

This comment has been minimized.

Show comment
Hide comment
@dmitvitalii

dmitvitalii Jan 1, 2018

Note from future: finally CubeMX has a linux version of an installer, so launching an .exe file via java is no longer needed: you can just perform sudo ./SetupSTM32CubeMX-4.23.0.linux.

dmitvitalii commented Jan 1, 2018

Note from future: finally CubeMX has a linux version of an installer, so launching an .exe file via java is no longer needed: you can just perform sudo ./SetupSTM32CubeMX-4.23.0.linux.

@asdmin

This comment has been minimized.

Show comment
Hide comment
@asdmin

asdmin Jun 18, 2018

Yes, but the 'installer' is 32 bits, and it creates its own troubles on ia64 systems. The procedure above also can be used, when an ia64 system experiences problems with the ia32 binary.

Thanks for the procedure!

asdmin commented Jun 18, 2018

Yes, but the 'installer' is 32 bits, and it creates its own troubles on ia64 systems. The procedure above also can be used, when an ia64 system experiences problems with the ia32 binary.

Thanks for the procedure!

@maxmbed

This comment has been minimized.

Show comment
Hide comment
@maxmbed

maxmbed Sep 30, 2018

Thanks java command is still useful. I did not want to install 32 bits lib.

maxmbed commented Sep 30, 2018

Thanks java command is still useful. I did not want to install 32 bits lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment