Package Details: stm32cubeide 1.18.1-3

Git Clone URL: https://aur.archlinux.org/stm32cubeide.git (read-only, click to copy)
Package Base: stm32cubeide
Description: Integrated Development Environment for STM32
Upstream URL: https://www.st.com/en/development-tools/stm32cubeide.html
Keywords: arm cortex cortex-m cubeide embedded ide st stm32
Licenses: custom:SLA0048
Submitter: kumen
Maintainer: kumen
Last Packager: kumen
Votes: 37
Popularity: 0.001578
First Submitted: 2019-05-02 15:05 (UTC)
Last Updated: 2025-06-12 16:40 (UTC)

Pinned Comments

kumen commented on 2023-03-19 13:14 (UTC) (edited on 2023-03-19 13:17 (UTC) by kumen)

STM32CubeIDE is now run by executing stm32cubeide_wayland official script. If you have issues related to run environment, try to edit /usr/share/applications/stm32cubeide.desktop file and uncomment one of commented out Exec=... lines and comment out currently used one. After making changes to stm32cubeide.desktop run update-desktop-database as root to apply changes.

Discussion about this Eclipse issues is here: https://github.com/eclipse-platform/eclipse.platform.swt/issues/158

Latest Comments

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

kumen commented on 2025-06-12 16:41 (UTC)

Thank you for checking. Fixed.

doraeric commented on 2025-06-12 16:19 (UTC)

Thanks for merging the patch, but I noticed there's an error in the sed command:

# correct vs incorrect
sed -n 's/.*-Djava.util.prefs.systemRoot=\([^ ]*\).*/\1/p'
sed -n 's/.*-Djava.util.prefs.systemRoot=\([^ ]*\).*//p'

sed -n 's/.*-Djava.util.prefs.userRoot=\([^ ]*\).*/\1/p'
sed -n 's/.*-Djava.util.prefs.userRoot=\([^ ]*\).*//p'

This might be caused by how the Pastebin webpage displays the content, only the raw view shows it properly [1]. The \1 is used to print the string captured by the regex group, which is necessary to correctly extract the configuration values.

[1] https://pastebin.com/raw/HJq2nm1a

doraeric commented on 2025-06-10 15:14 (UTC) (edited on 2025-06-10 15:56 (UTC) by doraeric)

I noticed that the script creates a folder at $HOME/.java/.systemPrefs and overwrites any existing _JAVA_OPTIONS. To address this, I modified the script to follow the XDG Base Directory specification [1]. Additionally, I ensured that it respects the user's _JAVA_OPTIONS if it is already set. It also loads env from $XDG_CONFIG_HOME/stm32cubeide.env if the file exists.

I hope the patch [2] can be reviewed and merged. Thank you!

[1] https://wiki.archlinux.org/title/XDG_Base_Directory [2] https://pastebin.com/HJq2nm1a

kumen commented on 2025-05-22 09:39 (UTC)

Packages stlink-server and ncurses5-compat-libs must be build from AUR too.

AscendLiu commented on 2025-05-22 09:33 (UTC) (edited on 2025-05-22 09:34 (UTC) by AscendLiu)

[code] Error: Target not found: stlink server ==>Error: 'pacman' cannot install missing dependencies. ==>Missing dependency relationship: -> ncurses5-compat-libs -> stlink-server ==>Checking compile time dependencies ==>Error: Unable to resolve all dependencies. [/code]

ericfont commented on 2025-02-28 00:30 (UTC)

I kept getting the following terminal warning repeated:

java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs. Unix error code 2.

I "fixed" it by making a directory /etc/.java/.systemPrefs and doing chmod 777 on it, and now when I launch the IDE, I no longer see the warning, and I see two files are created in that folder called .systemRootModFile and .system.lock. Probably instead of grating full 777 access I should have made a group or something...but just pointing out to the package owner that maybe the package should properly handle this /etc/.java/.systemPrefs folder somehow...

lnx commented on 2024-12-17 17:05 (UTC)

Validating source files with sha256sums...
    en.st-stm32cubeide_1.17.0_23558_20241125_2245_amd64.sh.zip ... Passed
    99-jlink.rules.patch ... Passed
    SLA0048_STM32CubeIDE.pdf ... Skipped
    http_headers ... FAILED

Solutin: edit PKGBUIULD and set sha256sum of http_headers to SKIP:

sha256sums=('783c426695def184a50294149fa929b19a9caa979aea5e23461d8df55283c732'
'0f3f69f7c980a701bf814e94595f5acb51a5d91be76b74e5b632220cfb0e7bb3'
'SKIP'
'SKIP'

kumen commented on 2024-12-17 15:26 (UTC)

Source file download is fixed for now. Remove old zero size file en.st-stm32cubeide_1.17.0_23558_20241125_2245_amd64.sh.zip for successful redownloading.

CaptainJack42 commented on 2024-12-10 08:19 (UTC)

Fails to build due to the validity check for the .zip file (rightfully). Seems in my case this i caused by the file not fully downloading, but the script thinking it is already done (file size is 0). Manually downloading the generic linux package for cube ide and placing it in the build directory fixed this for me.

louis_etn commented on 2024-11-29 17:34 (UTC) (edited on 2024-11-29 17:34 (UTC) by louis_etn)

When installing the package:

==> Validating source files with sha256sums...
    st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!

Ignoring the checks give me:

==> Starting prepare()...
sh: /home/louis/.cache/paru/clone/stm32cubeide/src/st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh: No such file or directory
==> ERROR: A failure occurred in prepare().