Package Details: sw4stm32 2.9-1

Git Clone URL: https://aur.archlinux.org/sw4stm32.git (read-only, click to copy)
Package Base: sw4stm32
Description: SystemWorkbench for STM32
Upstream URL: http://www.openstm32.org/System+Workbench+for+STM32
Licenses: custom
Submitter: None
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 10
Popularity: 0.000000
First Submitted: 2017-01-28 15:05 (UTC)
Last Updated: 2019-05-14 21:05 (UTC)

Dependencies (6)

Required by (0)

Sources (5)

Latest Comments

« First ‹ Previous 1 2

robertfoster commented on 2018-09-12 13:25 (UTC)

@DCengineer @2lafru I can't test the edits. What do you recommend? To add arm-none-eabi-gdb and openocd as runtime deps? Let me know

ph1r3ph0x commented on 2018-09-07 07:01 (UTC)

I just installed version 2.5 with success (directly from openstm32). It had no problems installing udev rules, however I don't have cubemx installed. I haven't tried to debug yet but everything compiles just fine. This aur package failed to install. So maybe updating it and removing the udev part from pkgbuild will help?

2lafru commented on 2018-06-21 19:01 (UTC) (edited on 2018-06-22 13:08 (UTC) by 2lafru)

DCengineer is right. Even without stm32cubemx, the udev rules have to be deleted during installation. And sw4stm32 isn't able to use its own gdb and openocd; so debugging is broken. Can't find a way to suspend and resume execution.

DCengineer commented on 2018-04-13 21:49 (UTC) (edited on 2018-04-13 21:58 (UTC) by DCengineer)

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 (UTC)

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 (UTC)

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 (UTC)

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

<deleted-account> commented on 2017-02-24 14:45 (UTC)

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.

<deleted-account> commented on 2017-02-22 06:28 (UTC)

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