Package Details: sw4stm32 2.4-2

Git Clone URL: https://aur.archlinux.org/sw4stm32.git (read-only)
Package Base: sw4stm32
Description: SystemWorkbench for STM32
Upstream URL: http://www.openstm32.org/System+Workbench+for+STM32
Licenses: custom
Submitter: MicroJoe
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 4
Popularity: 0.541525
First Submitted: 2017-01-28 15:05
Last Updated: 2018-03-13 15:37

Latest Comments

DCengineer commented on 2018-04-13 21:49

This package seems to conflict with stm32cubemx, because they both try to install stlink udev rules. I was able to get both packages installed, but I had to remove the stlink rules during the installation process. Also, I had to use arm-none-eabi-gdb and the AUR openocd package in order to get debugging to work.

znuxor commented on 2017-11-22 16:56

Probably not a secure solution, but changing the owner of /opt/sw4stm32 (sudo chown -R /opt/sw4stm32) is a feasible solution to allow installation of the compiler.

Adding read/write access to the directory and its subdirectories is probably a better idea.

The_Loko commented on 2017-10-03 17:18

When running first time it tries to download the compiler and everything else to /opt, so it fails with permission denied. How can I prevent this?

Kamilcuk commented on 2017-10-03 12:18

In your pkgbuild you use 'convert' in package().
'convert' is provided by extra/imagemagick.
Could You please add imagemagick to makedepend list?
makedepend=( imagemagick ) ?

MicroJoe commented on 2017-02-24 14:45

I have fixed the udev rule issue by copying it manually (the error will still be displayed by the installer). For gdb and openocd I use the versions provided inside the package so I do not have to add them as dependencies. I forgot to add lib32-ncurses5-compat-lib as you mentioned for the gdb shipped with sw4stm32. This should be fixed now.

Anonymous comment on 2017-02-22 06:28

PKGBUILD depends on java and is not listed as a dependency. Program itself requires gdb and openocd at least to work properly. Can also note that their version of gdb fails to work without libncurses.so.5, which is provided by the AUR package lib32-ncurses5-compat-libs.

udev rule fails to install:

...
-- Unpack SW4STM32 done --
Starting process Creating desktop shortcut (2/3)
Starting process Loading STLink/V2 udev rules (3/3)
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
cp: cannot stat '49-stlinkv2.rules': No such file or directory
-- Udev rule installation failed --
Please manually copy the 49-stlinkv2.rules file into the udev rules directory