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


How to add an external library in a project?

For those who may have the same problem regarding symbols, I have understood my mistake:

To define them properly, define them in Project > Properties > C/C++ General > Paths & Symbols
Configuration : | All configurations | (this is where I wasn’t doing it correctly)

If you have to declare a symbol for a #if / #endif, add a value (1 for expl) to your symbol. Else, it won’t work.
If you have to declare a symbol for a #ifdef, you don’t need to add a value, as soon as you define it in the properties.

Hope it helps!

Also, if you’ve done what explained above but your compiler still can’t find your symbols, try:

projet > C/C++ Index > Freshen All Files
projet > C/C++ Index > Rebuild

It worked for me.