Package Details: sw4stm32 2.7-1

Git Clone URL: (read-only)
Package Base: sw4stm32
Description: SystemWorkbench for STM32
Upstream URL:
Licenses: custom
Submitter: MicroJoe
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 5
Popularity: 0.140220
First Submitted: 2017-01-28 15:05
Last Updated: 2018-11-19 14:51

Latest Comments

1 2 Next › Last »

edward-p commented on 2018-11-21 08:47

Since most of aur helpers have no root access, it's necessary to copy udev rules manually into $pkgdir/etc/udev/rules.d/

    # Copy udev rule manually
    for r in $(ls $HOME/.installation/*.rules); do
        install -Dm644 $r \

The_Loko commented on 2018-10-11 15:16

This IDE bundles arm-none-eabi-* tools and openocd but the variable containing the path (${openstm32_compiler_path}) is empty. You can check how debug configurations use that variable by default on the debugger settings.

robertfoster commented on 2018-09-12 13:25

@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

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

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

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.