Package Details: stm32cubemx 6.10.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: 47
Popularity: 0.024746
First Submitted: 2016-06-04 10:14 (UTC)
Last Updated: 2023-12-04 10:32 (UTC)

Dependencies (4)

Required by (0)

Sources (3)

Latest Comments

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

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.

scyrmion commented on 2023-08-01 20:05 (UTC)

@laserk3000

$ java --version
openjdk 11.0.20 2023-07-18
OpenJDK Runtime Environment (build 11.0.20+8)
OpenJDK 64-Bit Server VM (build 11.0.20+8, mixed mode)

laserk3000 commented on 2023-08-01 19:55 (UTC)

@scyrmion: What Java version are you using? I had tried a couple of different ones and had no such problems.

scyrmion commented on 2023-08-01 18:55 (UTC)

With the latest version, I get this error when running /usr/bin/stm32cubemx:

Error: LinkageError occurred while loading main class com.st.microxplorer.maingui.STM32CubeMX
    java.lang.UnsupportedClassVersionError: com/st/microxplorer/maingui/STM32CubeMX has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

laserk3000 commented on 2023-07-26 08:36 (UTC)

@Sven we don't launch the app directly but through archlinux-java-run. Can you try /usr/bin/stm32cubemx and tell if the problem persists?

Sven commented on 2023-07-25 21:54 (UTC) (edited on 2023-07-25 21:54 (UTC) by Sven)

Since the upgrade 6.9.0-1 I just see the following error:

$ /opt/stm32cubemx/STM32CubeMX 
Check exe path on linux
FullExe path1 is: /opt/stm32cubemx/STM32CubeMX
Exe path is: /opt/stm32cubemx
Search java from relative path ----
Checking java in /opt/stm32cubemx/./jre/bin/java
Checking java in /opt/stm32cubemx/../jre/bin/java
Checking java in /opt/stm32cubemx/../../jre/bin/java
Checking java in /opt/stm32cubemx/../../../jre/bin/java
Please install Java JRE 17.0.6 or a more recent version

maat commented on 2023-07-25 07:47 (UTC)

stm32cubemx no longer requires Java 11. It runs fine with the latest Java 20. It would be nice if that dependency were updated.

laserk3000 commented on 2023-03-04 07:16 (UTC)

@tuankiet65 I know. It slipped through. Next version bump with reset it.

tuankiet65 commented on 2023-03-04 01:10 (UTC)

I think you should reset the pkgrel for each new release.