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


System Workbench for STM32 installation and configuration on Linux

Hi,
I had installed the System Workbench for STM32 on 64bit Ubuntu 16.04.1 LTS by run the installer.
It semms every thing goes fine at first, and I was able to import a project which is generated from STM32CubeMx.
The project built and an elf file was generated, but when I try to download it to my STM32F0308 Discovery board, the System Workbench for STM32 comes to be very slow responding. After long waiting, there is a error message saying that something in “debug configuration” wasn’t been set correctly. But the problem then I have is, whenever I try to look the “project properties”, the System Workbench for STM32 comes to be very slow responding.
I’m not sure how I can fix this? Any log file I can looking?
Thanks.
-BNow

Here is an error message I had seen when System Workbench for STM32 stop responding.

Gtk:ERROR:/build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gtk/a11y/gtkaccessibility.c:564:gail_focus_notify_when_idle: code should not be reached

searching around, I saw there someone has mentioned that “SWT_GTK3=0 /yourpath/eclipse &”
to fix one of GTK related issue.

I tried it and it fix my problem.
Now I can change the project properties and run debugging my STM32F0Discovery board through OpenOCD/STLinkv2 .

Hope this will help someone.

OK. This seems be the better solution.

specify the GTK version 2 instead of 3, in eclipse.ini

So, add below lines into /yourpath/eclipse.ini

--launcher.GTK_version
2

, before Vmargs