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

1 2 Next › Last »

Sabu commented on 2021-06-11 11:47 (UTC)

@AndrevS, besides your issues with sw4stm32 I would not install sw4stm32 because the development/support has stopped in January 2019 if I'm right. sw4stm32 is now part of STM32-Cube IDE (stm32cubeide, see https://aur.archlinux.org/packages/?O=0&SeB=nd&K=stm32cube&outdated=&SB=n&SO=a&PP=50&do_Search=Go). stm32cubeide is nearly equal to sw4stm32 but with fewer bugs in my experience. It could also be that your issue with libfakeroot.so will be gone, I'm not sure. If not, do you already installed and updated the base-devel group installed?

sudo pacman -Syu --needed base-devel

AndrevS commented on 2021-06-11 08:18 (UTC)

While downloading http://www.ac6-tools.com/downloads/SW4STM32/install_sw4stm32_linux_64bits-v2.9.run it complains about an invalid SSL certificate.

Furtheremore, it fails to load fakeroot, and (attempt to) install files on the live file system during package building.

Starting process Loading STLink/V2 udev rules (2/2)
The udev rule 49-stlinkv1.rules will be installed into /etc/udev/rules.d
The udev rule 49-stlinkv2-1.rules will be installed into /etc/udev/rules.d
The udev rule 49-stlinkv2.rules will be installed into /etc/udev/rules.d
The udev rule 49-stlinkv3.rules will be installed into /etc/udev/rules.d
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[sudo] wachtwoord voor andre: 

Sabu commented on 2021-01-13 16:49 (UTC)

Just as generic information for users who wants to install sw4stm32, sw4stm32 is outdated and will not be further developed. sw4stm32 is now part of STM32CubeIDE (ST).

bastla commented on 2020-02-14 18:34 (UTC) (edited on 2020-02-17 10:25 (UTC) by bastla)

The download of the source fails:

curl: (60) SSL certificate problem: unable to get local issuer certificate

It would be possible to deliver the certificate via AUR and add the following line to the PKGBUILD:

DLAGENTS=("https::/usr/bin/curl --cacert certificate.crt -o %o %u")

using the URL:

https://www.ac6-tools.com/downloads/SW4STM32/install_sw4stm32_linux_64bits-v$pkgver.run

The current certificate of www.ac6-tools.com:

-----BEGIN CERTIFICATE-----
MIIHtzCCBp+gAwIBAgIRAPfqbsDFc2Ix/eRcAu0Vjh4wDQYJKoZIhvcNAQELBQAw
gZExCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGDAWBgNVBAoTD1NlY3RpZ28gTGltaXRlZDE5MDcGA1UE
AxMwU2VjdGlnbyBSU0EgRXh0ZW5kZWQgVmFsaWRhdGlvbiBTZWN1cmUgU2VydmVy
IENBMB4XDTE5MDkxODAwMDAwMFoXDTIxMDkxODIzNTk1OVowggEBMRowGAYDVQQF
ExE0NDkgNTk3IDEwMyAwMDAyNjETMBEGCysGAQQBgjc8AgEDEwJGUjEdMBsGA1UE
DxMUUHJpdmF0ZSBPcmdhbml6YXRpb24xCzAJBgNVBAYTAkZSMQ4wDAYDVQQREwU5
MjQwMDEXMBUGA1UECAwOw45sZS1kZS1GcmFuY2UxEzARBgNVBAcTCkNPVVJCRVZP
SUUxHDAaBgNVBAkTEzIxIHJ1ZSBQaWVycmUgQ3VyaWUxDDAKBgNVBAoTA0FjNjEj
MCEGA1UECxMaQ09NT0RPIEVWIE11bHRpLURvbWFpbiBTU0wxEzARBgNVBAMTCnd3
dy5hYzYuZnIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvGKgfVTtV
Qnxc4/jnLv5DuCNXyLvO1XsCgiV/Cno4Zd/ZqdrDjlhoOh/zg60MwoCVuLyDIF9H
wvHqrXyG10g4VBsE614zAWDP/7S7S+vQxI2ycSfTpTsA3yscrGZI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D
AEYwRAIgJF/pD0x8H7L3IJhOu3VzsGjahBa0AC6YYmDIyXFONtMCIBSWV37BPFAl
vIM12j71rLXzoYaioRMwynW2AoKmyb5IAHYAVYHUwhaQNgFK6gubVzxT8MDkOHhw
JQgXL6OqHQcT0wwAAAFtRParPAAABAMARzBFAiBlW9T5+AEwAW5hwNyOhpFrq8J0
v2tTmzzjAy7FL0VdjgIhAPSvnp2jV003dp9nrN/0z9HyEJC9MutT2BJg78B4CmkG
AHUAu9nfvB+KcbWTlCOXqpJ7RzhXlQqrUugakJZkNo4e0YUAAAFtRPapeAAABAMA
RjBEAiAurQ2sjrgq0Rh9LYM1FsscoS7msUlH4MIFSbFu7HYZ/AIgObFGjwifFr0y
CtcxqKl+/KLdm1b3KMHkHBcdvf2NmO8wDQYJKoZIhvcNAQELBQADggEBAHZ4tJCU
kmaX2bn8O4yMwediuF5XBsT9AlAdj49mI1VUu+tFNd7+EXiPA/Qve56cTYTX32qa
V6NwEM3zDUYk1XLeMeEdI702m+qw5BsTrxTVIY4B6VEJ+GSZy8KK/wpwELfIeK2b
HRuVgoACrjhpcBDflT/ZT4PN1K/Npm4oIpdQw4S5cIbNJG/2/o5DQwaSbJ93eQLM
1ZJlalygMydM2fmyXDP0Eib3jOYTsaNvSbZFrbKg7wZlTLvvHIARkah7C3Hp3c+G
knP4xCUKJbrY4/YSJQKhpfvd3H0Vh2Cn1He8PBLLXfNLMaVny6EQK8/Hd/XiJDBr
MMQYQu5D3QdxHYo=
-----END CERTIFICATE-----

kamil1991 commented on 2019-12-25 10:14 (UTC)

The same issue as rp68

vnd commented on 2019-09-06 12:16 (UTC)

I'm having the same issue as rp68

rp68 commented on 2019-05-26 07:12 (UTC) (edited on 2019-05-26 07:14 (UTC) by rp68)

Hi. I have this issue :

[ Unpacking finished ] File execution failed
com.izforge.izpack.api.exception.IzPackException: An error occured- in com.izforge.izpack.installer.bootstrap.Installer.main() at Installer.java:78

  • in com.izforge.izpack.installer.bootstrap.Installer.start() at Installer.java:221

  • in com.izforge.izpack.installer.bootstrap.Installer.launchInstall() at Installer.java:286

  • in com.izforge.izpack.installer.bootstrap.Installer.launchAutomatedInstaller() at Installer.java:321

  • in com.izforge.izpack.installer.automation.AutomatedInstaller.doInstall() at AutomatedInstaller.java:173

  • in com.izforge.izpack.installer.panel.AbstractPanels.switchPanel() at AbstractPanels.java:513
  • in com.izforge.izpack.installer.automation.AutomatedPanels.switchPanel() at AutomatedPanels.java:38
  • in com.izforge.izpack.installer.automation.AutomatedPanels.switchPanel() at AutomatedPanels.java:89
  • in com.izforge.izpack.panels.install.InstallPanelAutomationHelper.runAutomated() at InstallPanelAutomationHelper.java:65
  • in com.izforge.izpack.installer.unpacker.UnpackerBase.run() at UnpackerBase.java:236
  • in com.izforge.izpack.installer.unpacker.UnpackerBase.unpack() at UnpackerBase.java:273 Caused by: com.izforge.izpack.api.exception.InstallerException: File execution failed- in com.izforge.izpack.installer.unpacker.UnpackerBase.unpack() at UnpackerBase.java:251
  • in com.izforge.izpack.installer.unpacker.UnpackerBase.unpack() at UnpackerBase.java:438
  • in com.izforge.izpack.installer.unpacker.UnpackerBase.executeFiles() at UnpackerBase.java:930

an idea ? thanks

2lafru commented on 2019-01-05 10:25 (UTC) (edited on 2019-01-06 03:11 (UTC) by 2lafru)

If you're having weird issues with debugging (like being unable to pause execution for a second time, for example), it's because by default, the package creates projects using the system-wide openocd and arm-none-eabi-gdb. You need, for each project, after creation, to specify that it should use sw4stm32's own versions of openocd and gdb. To do this, do the following (for each path, replace the XXXXXXXXs with what's actually in your directories. This can vary depending on the versions) :

Right click on the project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> MCU Settings -> set the path to /usr/lib/sw4stm32/plugins/fr.ac6.mcu.externaltools.arm-none.linuxXXXXXX/tools/st-gnu-arm-gcc-XXXXXXXX/bin/ -> Apply -> Then click on Run/Debug Settings category on the left -> select the only configuration, it should be named "[your project name] Debug" -> Edit... -> Debugger -> Modify the GDB command field to "/usr/lib/sw4stm32/plugins/fr.ac6.mcu.externaltools.arm-none.linuxXXXXXXXX/tools/st-gnu-arm-gcc-XXXXXXXXX/bin/arm-none-eabi-gdb" -> Modify also the OpenOCD Command field to "/usr/lib/sw4stm32/plugins/fr.ac6.mcu.externaltools.openocd.linuxXXXXXXXX/tools/openocd/bin/openocd" -> Apply -> OK -> Apply -> OK

edward-p commented on 2018-11-21 08:47 (UTC) (edited on 2018-11-21 08:49 (UTC) by edward-p)

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 \
                "$pkgdir/etc/udev/rules.d/${r##*/}"
    done

The_Loko commented on 2018-10-11 15:16 (UTC)

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.