You can get System Workbench for STM32 from STM32 Community download area.
You can get STM32CubeMX form ST site.
STM32 CubeMX
I've tried to run SetupSTM32CubeMX-5.0.0.linux, but I got:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
so I need to install
yum install glibc.i686
because of missing /lib/ld-linux.so.2 file.
Now I've got:
[root@linux en.stm32cubemx5]# ./SetupSTM32CubeMX-5.0.0.linux chdir /tmp/en.stm32cubemx5/. current dir /tmp/en.stm32cubemx5 Nov 20, 2018 5:47:11 PM INFO: Logging initialized at level 'INFO' Nov 20, 2018 5:47:11 PM INFO: Commandline arguments: Nov 20, 2018 5:47:13 PM INFO: Detected platform: linux,version=3.10.0-693.21.1.e l7.x86_64,arch=x64,symbolicName=null,javaVersion=1.8.0_161 Nov 20, 2018 5:47:14 PM WARNING: No console implementation of panel: \ com.st.microxplorer.install.MXAnalyticsPanel Console installation is not supported by this installer [ Console installation FAILED! ]
If you have installed 4.x version you can get error when you try to run:
2018-11-20 15:22:45,811 [INFO] STM32CubeMX:30 - Starting STM32CubeMX Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
I had to install:
yum groups install "GNOME" "X Window System" "Fonts" yum install xorg-x11-fonts-Type1 yum install java-1.8.0-openjdk
Java is important - java-1.8.0-openjdk-headless it's not enough.
Now I can install it without problems.
System Workbench for STM32
./install_sw4stm32_linux_64bits-v2.7.run -m -f
exit with error:
error: Failed dependencies: libusbx >= 1.0 is needed by st-stlink-server-1.1.0-2.amd64
so I've installed:
yum install libusbx
now it install without problems.
Add comment