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: MicroJoe
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 9
Popularity: 0.42
First Submitted: 2017-01-28 15:05
Last Updated: 2019-05-14 21:05

Dependencies (6)

Required by (0)

Sources (5)

Latest Comments

1 2 Next › Last »

bastla commented on 2020-02-14 18:34

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
SUUxHDAaBgNVBAkTEzIxIHJ1ZSBQaWVycmUgQ3VyaWUxDD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----END CERTIFICATE-----

kamil1991 commented on 2019-12-25 10:14

The same issue as rp68

vnd commented on 2019-09-06 12:16

I'm having the same issue as rp68

rp68 commented on 2019-05-26 07:12

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

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

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

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.