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: 56
Popularity: 1.26
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 »

CloverGit commented on 2025-07-11 16:09 (UTC) (edited on 2025-07-11 16:17 (UTC) by CloverGit)

PATCH FOR 6.15.0.

Subject: [PATCH] chore: update to 6.15.0

---
 .SRCINFO       | 11 +++++------
 PKGBUILD       | 30 ++++++++++++++++++------------
 stm32cubemx.sh |  2 +-
 3 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 6575b3d..cd9a331 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,20 @@
 pkgbase = stm32cubemx
    pkgdesc = graphical software configuration tool for STM32 microcontrollers that allows generating C initialization code
-   pkgver = 6.13.0
+   pkgver = 6.15.0
    pkgrel = 1
    url = https://www.st.com/en/development-tools/stm32cubemx.html
    arch = any
    license = custom
-   makedepends = imagemagick
-   depends = java-runtime>=17
+   depends = java-runtime>=21
    depends = archlinux-java-run>=10
    depends = bash
    options = !strip
    options = !debug
-   source = https://sw-center.st.com/packs/resource/library/stm32cube_mx_v6130-lin.zip
+   source = https://sw-center.st.com/packs/resource/library/stm32cube_mx_v6150-lin.zip
    source = stm32cubemx.desktop
    source = stm32cubemx.sh
-   sha512sums = 362f0b94a33c84004ff6068f11e629aa9881d6612cf4f82817a9b1c67fa270f93eb8320f56e95d4267c7844de78443d1a968f4e589a3324343044b3ca9138ff4
+   sha512sums = 5248cc260357484b1c5faa24220f957cbcc6fd37a920098a366947ec31649e566aca85ad416f780bfeff156a96cee543a7893f9c38f2dfa7ad4722679d4d8392
    sha512sums = 83c67bef3e8f8434903fe0c067442cc7473459386fdcb0225af1b3a75fd75e2be393f91f877c8410f1055ca4ec531b2df707fcab10663cae382a7f4066c8548b
-   sha512sums = d0dfbf096d7d147f59ed9fc888e612636e6d025688f2ef82d528110da977e20175087eeb24bb398053ce0cb4e530dd0b4f0bd48574c028879ceffa44a04029c1
+   sha512sums = 031f4b55414e53ffd4ae6bca76d260629f92553ee66fe52e233de1032892925f626a3d29974976b9e5289282fc4fc0459cda47436f71ed8d3258f408562a2f6c

 pkgname = stm32cubemx
diff --git a/PKGBUILD b/PKGBUILD
index e250844..c241409 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: laserK <echo 'Y29udGFjdEBrYXJzdGVucHVmYWhsLmRlCg==' | base64 -d>
 pkgname=stm32cubemx
-pkgver=6.13.0
+pkgver=6.15.0
 pkgrel=1
 epoch=
 pkgdesc="graphical software configuration tool for STM32 microcontrollers that allows generating C initialization code"
@@ -8,10 +8,9 @@ arch=(any)
 url="https://www.st.com/en/development-tools/stm32cubemx.html"
 license=('custom')
 groups=()
-depends=('java-runtime>=17'
+depends=('java-runtime>=21'
    'archlinux-java-run>=10'
    'bash')
-makedepends=('imagemagick')
 checkdepends=()
 optdepends=()
 provides=()
@@ -22,24 +21,31 @@ options=(!strip !debug)
 install=
 changelog=
 source=("https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${pkgver//./}-lin.zip"
-   "stm32cubemx.desktop"
-   "stm32cubemx.sh")
+   "stm32cubemx.desktop"
+   "stm32cubemx.sh")
 noextract=()
-sha512sums=('362f0b94a33c84004ff6068f11e629aa9881d6612cf4f82817a9b1c67fa270f93eb8320f56e95d4267c7844de78443d1a968f4e589a3324343044b3ca9138ff4'
-            '83c67bef3e8f8434903fe0c067442cc7473459386fdcb0225af1b3a75fd75e2be393f91f877c8410f1055ca4ec531b2df707fcab10663cae382a7f4066c8548b'
-            'd0dfbf096d7d147f59ed9fc888e612636e6d025688f2ef82d528110da977e20175087eeb24bb398053ce0cb4e530dd0b4f0bd48574c028879ceffa44a04029c1')
+sha512sums=('5248cc260357484b1c5faa24220f957cbcc6fd37a920098a366947ec31649e566aca85ad416f780bfeff156a96cee543a7893f9c38f2dfa7ad4722679d4d8392'
+   '83c67bef3e8f8434903fe0c067442cc7473459386fdcb0225af1b3a75fd75e2be393f91f877c8410f1055ca4ec531b2df707fcab10663cae382a7f4066c8548b'
+   '031f4b55414e53ffd4ae6bca76d260629f92553ee66fe52e233de1032892925f626a3d29974976b9e5289282fc4fc0459cda47436f71ed8d3258f408562a2f6c')
 validpgpkeys=()

+build() {
+   tail -c +911953 SetupSTM32CubeMX-${pkgver} >SetupSTM32CubeMX.jar
+   mkdir -p MX
+   java -DINSTALL_PATH=${srcdir}/MX -jar ./SetupSTM32CubeMX.jar -options-system
+   chmod -R u+r "${srcdir}/MX/"
+}
+
 package() {
-   cd "${srcdir}"
+   cd "${srcdir}"
    mkdir -p "${pkgdir}/opt/stm32cubemx"
    cp -r "${srcdir}/MX/." "${pkgdir}/opt/stm32cubemx"
    install -Dm 755 "${srcdir}/stm32cubemx.sh" "${pkgdir}/usr/bin/${pkgname}"
+
    #icon and desktop file
-   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}/MX/help/STM32CubeMX.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
    install -Dm 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-   
+
    #license
    install -Dm 644 "${srcdir}/MX/help/software_license_agreement.pdf" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE.pdf"
 }
diff --git a/stm32cubemx.sh b/stm32cubemx.sh
index b9dab29..873cb49 100644
--- a/stm32cubemx.sh
+++ b/stm32cubemx.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec archlinux-java-run --min 17 -- -jar /opt/stm32cubemx/STM32CubeMX "$@"
+exec archlinux-java-run --min 21 -- -jar /opt/stm32cubemx/STM32CubeMX "$@

CloverGit commented on 2025-07-11 16:04 (UTC)

I'd like to join as co-maintainer @laserk3000.

abody commented on 2025-06-03 07:17 (UTC)

This package has been lacking an update for over a month again. @laserk3000 , please consider abandoning it.

samdorey commented on 2025-05-19 13:39 (UTC)

@jonas-s 's patch worked for me to upgrade to 14.1, though git wouldn't apply it directly.

jonas-s commented on 2025-04-23 07:16 (UTC) (edited on 2025-04-23 07:17 (UTC) by jonas-s)

Subject: [PATCH] Updated to 6.14.1

---
 PKGBUILD       | 8 ++++----
 stm32cubemx.sh | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index e250844..4eada9f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: laserK <echo 'Y29udGFjdEBrYXJzdGVucHVmYWhsLmRlCg==' | base64 -d>
 pkgname=stm32cubemx
-pkgver=6.13.0
+pkgver=6.14.1
 pkgrel=1
 epoch=
 pkgdesc="graphical software configuration tool for STM32 microcontrollers that allows generating C initialization code"
@@ -8,7 +8,7 @@ arch=(any)
 url="https://www.st.com/en/development-tools/stm32cubemx.html"
 license=('custom')
 groups=()
-depends=('java-runtime>=17'
+depends=('java-runtime>=21'
    'archlinux-java-run>=10'
    'bash')
 makedepends=('imagemagick')
@@ -25,9 +25,9 @@ source=("https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${pkgver/
    "stm32cubemx.desktop"
    "stm32cubemx.sh")
 noextract=()
-sha512sums=('362f0b94a33c84004ff6068f11e629aa9881d6612cf4f82817a9b1c67fa270f93eb8320f56e95d4267c7844de78443d1a968f4e589a3324343044b3ca9138ff4'
+sha512sums=('d7a67846e416212b5ae54d29bf163663ffe9847c1ff2a09d21e97ef30b5d1e57dfa6f7c21de1dff8ef0ed2da6e144292529f2690a946e3abe7018901b28d4554'
             '83c67bef3e8f8434903fe0c067442cc7473459386fdcb0225af1b3a75fd75e2be393f91f877c8410f1055ca4ec531b2df707fcab10663cae382a7f4066c8548b'
-            'd0dfbf096d7d147f59ed9fc888e612636e6d025688f2ef82d528110da977e20175087eeb24bb398053ce0cb4e530dd0b4f0bd48574c028879ceffa44a04029c1')
+            '031f4b55414e53ffd4ae6bca76d260629f92553ee66fe52e233de1032892925f626a3d29974976b9e5289282fc4fc0459cda47436f71ed8d3258f408562a2f6c')
 validpgpkeys=()

 package() {
diff --git a/stm32cubemx.sh b/stm32cubemx.sh
index b9dab29..873cb49 100644
--- a/stm32cubemx.sh
+++ b/stm32cubemx.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec archlinux-java-run --min 17 -- -jar /opt/stm32cubemx/STM32CubeMX "$@"
+exec archlinux-java-run --min 21 -- -jar /opt/stm32cubemx/STM32CubeMX "$@"
-- 
2.49.0

GaryOderNichts commented on 2025-01-03 17:28 (UTC)

Looks like they updated to Java 21. The /usr/bin/stm32cubemx script needs to be updated to support Java 21 and the >=17 in the dependencies needs to be adjusted.

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"