Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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.


 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs