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


GDB internal error

If I create a new C++ project it works great with the default main.c with an infinite loop. If I change the file extension to .cpp I get this error:

/home/build/work/GCC-5-0-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `nameprefix_len + 1 == ‘:’’ failed.

Also, I have another C++ project that works great and in this debug session I get “no source file named” error in GDB for files that are just relevant for the other project (this is just a blank project).

Any idea what’s wrong here?