Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Linux : Ac6 on desktop (IDE) vs Ac6 on build machine (no IDE)

Pretty easy.

On Desktop, with IDE

  • Install Ac6 (GUI installator)
  • Lauch it (at first launch, it seems to do a couple of things ...)
  • Open a project for a STM32L4 target
  • Compile it
  • It works!


On build machine, no IDE_

  • Install Ac6 (command line install)
  • Try to compile code (/var/lib/Ac6/eclipse -nosplash --launcher.suppressErrors -no-indexer -data /var/lib/jenkins/WSL -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import ./ -cleanBuild Project/Target || true)
  • Get error on gcc, g++, make not found in path


On desktop, it seems to use “openstm32_compiler_path” which is “/var/lib/Ac6/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.17.0.201812190825/tools/compiler/bin” (on my desktop of course)
On build machine, “/var/lib/Ac6/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.17.0.201812190825/tools/compiler” exists but is empty.

Any idea?

Hi,

On first launch in GUI mode, It installs (extracts) the toolchain and the debugger. This cannot be done on headless (no-GUI) mode. To solve this, you can manually install the toolchain by extracting the archive /var/lib/Ac6/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.17.0.201812190825/tools/st-gnu-arm-gcc[...].tar.z2 into to the /var/lib/Ac6/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.17.0.201812190825/tools/ directory then rename the dir st-gnu-arm[...] into “compiler”

The toolchain folder tree should be:

/var/lib/Ac6/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.17.0.201812190825/
  tools/
    compiler/
        arm-none-eabi/
        bin/
        lib/
        share/


Regards.