Package Details: stm32cubemx 6.13.0-1

Git Clone URL: https://aur.archlinux.org/stm32cubemx.git (read-only, click to copy)
Package Base: stm32cubemx
Description: graphical software configuration tool for STM32 microcontrollers that allows generating C initialization code
Upstream URL: https://www.st.com/en/development-tools/stm32cubemx.html
Keywords: arm cortex cortex-m stm32
Licenses: custom
Submitter: laserk3000
Maintainer: laserk3000
Last Packager: laserk3000
Votes: 53
Popularity: 0.69
First Submitted: 2016-06-04 10:14 (UTC)
Last Updated: 2024-11-27 08:27 (UTC)

Dependencies (4)

Required by (1)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

Fixer commented on 2024-10-01 00:12 (UTC)

此最新版本存在bug:在创建工程生成代码时,当你选的工具链是make和Cmake时,会存在链接脚本语法不正确的情况——具体表现是缺少某些symbol——导致编译不通过。暂时的解决办法是使用stm32cubeIDE工具链再生成一次,使用这个工具链生成的链接脚本是正常可用的,或者手动修改生成的链接脚本。

GetRicked420 commented on 2024-09-22 23:50 (UTC)

FYI 6.12.1 has a bug with generating code for cmake. See https://community.st.com/t5/stm32cubemx-mcus/flash-ld-syntax-error-when-upgrding-to-cubemx-v6-12-1/td-p/722343 for details

abody commented on 2024-07-02 11:51 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index ab19d02..589d5c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: laserK <echo 'Y29udGFjdEBrYXJzdGVucHVmYWhsLmRlCg==' | base64 -d>
pkgname=stm32cubemx
-pkgver=6.11.0
+pkgver=6.12.0
pkgrel=1
epoch=
pkgdesc="graphical software configuration tool for STM32 microcontrollers that allows generating C initialization code"
@@ -25,7 +25,7 @@ source=("https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${pkgver/
        "stm32cubemx.desktop"
        "stm32cubemx.sh")
noextract=()
-sha512sums=('2418acfa0dd80030f3fa84b91243a759603b4eefcfe653eda79e37a4765f1da5aa3e1cef43f8c6e236818f63964e388092e240ae4858aeac59603982647c739c'
+sha512sums=('daf949742ec7bab3def3a6777165719d46eb0e94d9cfcb2ae02d7afb91ffccc4ce648eda5ef2ef06377f9e7fadc64ed2502a9b4de7f43edc411860de356fc428'
        '83c67bef3e8f8434903fe0c067442cc7473459386fdcb0225af1b3a75fd75e2be393f91f877c8410f1055ca4ec531b2df707fcab10663cae382a7f4066c8548b'
        'd0dfbf096d7d147f59ed9fc888e612636e6d025688f2ef82d528110da977e20175087eeb24bb398053ce0cb4e530dd0b4f0bd48574c028879ceffa44a04029c1')
validpgpkeys=()
@@ -36,7 +36,7 @@ package() {
        cp -r "${srcdir}/MX/." "${pkgdir}/opt/stm32cubemx"
        install -Dm 755 "${srcdir}/stm32cubemx.sh" "${pkgdir}/usr/bin/${pkgname}"
        #icon and desktop file
-       convert "${srcdir}/MX/help/STM32CubeMX.ico[0]" "${srcdir}/MX/${pkgname}.png"
+       magick "${srcdir}/MX/help/STM32CubeMX.ico[0]" "${srcdir}/MX/${pkgname}.png"
        install -Dm 644 "${srcdir}/MX/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
        install -Dm 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"

BBArik commented on 2024-06-17 15:46 (UTC)

At line 39 of the PKGBUILD, the 'convert' command is used. It has been deprecated in ImageMagick v7. See https://imagemagick.org/script/porting.php , section 'Command changes'.

nathan1998tw commented on 2024-05-05 19:03 (UTC)

JDK升上22後無法創建MCU Project, 把倉庫拉下來, 在stm32cubemx.sh加入--max 21, 重新打包安裝檔就可以正常使用了

yandibanyu commented on 2024-04-25 19:07 (UTC)

Just to let someone else know if they encounter the same issue when selecting MCU and then the app suddenly closed. It is caused by java segmentation fault shenanigans but I didn't investigate much further and instead just installed it directly. I didn't even try to check if it is working without AUR helper so be warned.

Q: What system are you running? A: aurutils, KDE Plasma 6, JDK 22 OpenJDK, AMD Ryzen 7 5### with iGPU

Q: How do I check if I have the same issue? A: Run it from the commandline with stm32cubemx and inspecting its output. You should see something like "SIGSEGV" somewhere.

Q: What workaround did you use? A: Download the installer from ST website, and download Java 22 JDK from the OpenJDK website (only used for installing to make things easier for me). Extract the installer of the STM32CubeMX and extract the JDK to the same directory. Rename the extracted JDK directory to jre since the installer is searching for that. Run the installer as regular user is fine if you didn't need to install it system wide. After that, you can safely remove the installer and the Java 22 used for installing it.

malsyned commented on 2024-04-16 20:10 (UTC)

The installers ST distributes for Linux and Windows add an STM32CubeMX_PATH variable to the environment that points to the directory containing the STM32CubeMX binary.

Could this recipe create that as well for consistency, maybe with /etc/profile.d drop-ins that export STM32CubeMX_PATH=/opt/stm32cubemx?

I would personally find this useful because I'm working on a cross-platform CMake script that needs to be able to locate the STM32CubeMX binary.

scyrmion commented on 2023-09-28 19:23 (UTC) (edited on 2023-09-28 19:23 (UTC) by scyrmion)

This was fixed and working, but then my java version updated and I had to change the script to have --max 21 for it to work.

pfannenhans commented on 2023-08-08 12:54 (UTC)

They updated the Java Version of CubeMX. Updating the /usr/bin/stm32cubemx script from

#!/bin/sh
exec archlinux-java-run --min 11 --max 20 -- -jar /opt/stm32cubemx/STM32CubeMX "$@"

to

#!/bin/sh
exec archlinux-java-run --min 17 --max 20 -- -jar /opt/stm32cubemx/STM32CubeMX "$@"

does the trick.