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


Debug configurations bug?

It seems like SW4STM32 will go mad after you import an existing makefile project without the board definition files. (xml and cfg)
Steps to reproduce (I tried from a clean install and the result is the same):
-Import an existing makefile project with selecting AC6 toolchain
-Cry because from now on whenever you try to create an new AC6 debug configuration, nothing happens

I noticed if you happen to have an AC6 project that was created with the project wizard, you can create a configuration for that project, duplicate it, and configure it for the executable in the makefile project.
Then if you click on the ‘Debugger tab’, SW4STM32 will ask you to define a new board since none is defined. The promlem is though, it will not list any MCUs and whenever you click OK, nothing happens...

Any workaround for this?

There is one I workaround I could find: Create a new project with the project wizard making a custom board definition that matches the board of your makefile project.Then if you copy the .xml and .cfg files to the infamous makefile project, voilá, everything magically starts working with the debug configurations.

I suggest to fix this issue with the board definition window popping up right away when importing a makefile project. Thanks.