Package Details: stm32cubeide 1.19.0-2

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: 38
Popularity: 0.82
First Submitted: 2019-05-02 15:05 (UTC)
Last Updated: 2025-07-10 13:38 (UTC)

Pinned Comments

kumen commented on 2025-07-09 20:36 (UTC)

Download STM32CubeIDE-Lnx manually and place it in the build directory. Login required for download.

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 .. 17 Next › Last »

YovelB commented on 2025-07-10 09:41 (UTC) (edited on 2025-07-10 10:32 (UTC) by YovelB)

After downloading the zip, it seems i was having problems installing,
to fix the issues, manually download: SLA0048_STM32CubeIDE.pdf.
delete old installation dir at /opt/stmcubeide
and then build with:

❯ makepkg -si

note: it seems also the dependency st-link server needs its own zip to be installed.
Thank you Kumen for maintaining this package! Your efforts are really appreciated.

kumen commented on 2025-07-09 20:36 (UTC)

Download STM32CubeIDE-Lnx manually and place it in the build directory. Login required for download.

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.