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


Weird "undefined reference to..." problem

I remember that for one project I have seen some errors (not at building phase) when I open some .c source files. Anyway, I close that source files and then I deleted the errors and then there was no build error.

I don’t know if this will work for you, but you can try:
- close the files that have errors in editor window (C/C++ Perspective). you can close all files.
- in “Problems” window clear all existing errors
- build the project


From what I now, the red highlited functions are reported as errors by Eclipse Code Analisys (Codan) and not by compiler/linker.
What is more intersting is the location where the compiler found the error (if there are any compiling errors).