Package Details: stm32cubemx 4.22.1-1

Git Clone URL: https://aur.archlinux.org/stm32cubemx.git (read-only)
Package Base: stm32cubemx
Description: graphical software configuration tool for STM32 microcontrollers that allows generating C initialization code
Upstream URL: http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/stm32cubemx.html
Licenses: custom
Submitter: laserk
Maintainer: laserk
Last Packager: laserk
Votes: 13
Popularity: 0.593231
First Submitted: 2016-06-04 10:14
Last Updated: 2017-10-20 13:00

Pinned Comments

laserk commented on 2016-10-22 13:50

If you see a checksum error during install it's likely that the ST server has provided you with a different version than the most recent. This happens at every version bump as the archive filename does not contain a version string (and hence no specific version can be download). It seems like that not all servers around the world are in sync and it takes some days till everybody gets the recent version. As a workaround you can edit the PKGBUILD (to the version you downloaded) and use updpkgsums to change the checksums accordingly.

Latest Comments

kbeckmann commented on 2017-10-01 17:45

Seems the version that gets pulled down now is 4.22.1 and not 4.22.0. If you have problems installing, set pkgver=4.22.1 and change the hashes as well in PKGBUILD.

On a side note, thanks for setting up this aur package, it works really well!

squash commented on 2017-09-04 11:59

@laserk

Make your PKGBUILD to copy all the files from the archive into "/opt/$pkgname".

Create a desktop file to execute "java -jar /opt/$pkgname/STM32CubeMX.exe".

The icon file is in the "help" directory.

I'm not sure what "intInstall/bin/linux/javaLauncher.linux" is doing (it's a 32-bit executable and I don't have the 32-bit libraries (lib32-glibc, etc.) installed in my system).

Also, maybe you can even remove the lib32-glibc dependency once there is no need to run their installer.

BTW I'm not splash :)

laserk commented on 2017-09-04 10:51

@splash have you found a way to install stm32cubemx from the linked file? It contains different files than the one this PKGBUILD downloads and unfortunately no installer.

squash commented on 2017-08-31 14:00

Here is a better source of downloading the package, whatever version you want to download, just change the version part in the URL:

http://www.st.com/resource/en/library2/stm32cube_mx_v4220.zip

1CatchMe1 commented on 2017-06-15 03:47

change pkgver=4.20.1 to 4.21.0
then: updpkgsums

areuz commented on 2017-04-03 10:32

There's a lot wrong with the PKGBUILD in this package.
You need to update the checksum of the zip, change the pkgver=4.19.0 to 4.20.0 or it won't find the .exe, and even change the icon paths: "${srcdir}/${pkgname}.png" to "${srcdir}/${pkgname}-6.png"... But then.. it finally installs.

Full PKGBUILD with the correct checksum as of 03.04.2017: https://pastebin.com/wNEMMvYw

alan commented on 2016-11-23 21:40

It seems like the ST website doesn't let you download the zip file directly any more. I had to provide and validate an email to get it to download the 200Mb archive, the PKGBUILD downloads a 200Kb "archive" which $file tells me is actually a HTML document.

laserk commented on 2016-10-22 13:50

If you see a checksum error during install it's likely that the ST server has provided you with a different version than the most recent. This happens at every version bump as the archive filename does not contain a version string (and hence no specific version can be download). It seems like that not all servers around the world are in sync and it takes some days till everybody gets the recent version. As a workaround you can edit the PKGBUILD (to the version you downloaded) and use updpkgsums to change the checksums accordingly.

laserk commented on 2016-09-18 12:09

@lesto I got 4.16.1 which seems to be the most recent I managed to download. Putting it on github seems like a good idea, but I think ST's license doesn't allow it.

lesto commented on 2016-09-18 09:58

@korken89 you have to edit the PKGBUILD changing the version to 4.15.1 (so change teh 16 to 15), and the firt sha512sum is f90ee3db1660fb7b71d8ca056a7c0cd84d1b019004e5b1d6f96dde3574be464c18f17ff6849b28c1b0f2444b52f6c83be1f690e260ae6116259442280c2859af

@laserk still 4.15.1 seems to be the most recent! maybe is a better idea to host somewhere (github?) the most recent version to avoid those issue.

All comments