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


Fail to debug in Win 11 C/C++

Hi All
I am new to this and try to follow the book, Bare Metal C Embedded systems. So far everything went smoothly. I am on a Win11, have installed Mingw64 with Msys2 installer. Have installed System Workbench for STM32 (Eclipse).
When I run the sample program, Hello World it works fine. When I enter the debugger and step through line by line I get not output. When reaching the last line I get this message:

Quote: “__Can’t find a source file at “C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c”
Locate the file or edit the source lookup path to include its location.__”

I have tried to include the mingw64\bin to my Build > Environment and in Debug Configurations under Source, I have added the File System Directory.
File explorer shows no sign of a file called “crtexe.c”.
I do not have any file in C:/M which does not exist and it should be a backslash.
I have tried to clean and rebuild. Assisted with Copilot I went through the different options. The last option Copilot gave was to reach out the the experts in community forums. Here I am.

Any suggestions is highly appreaciated.

Hi All
This kind of solved it selvs. Once the Nucleo Board was connected, everything so far runs smooth. The debugging works with the next tutorial in Bare Metal C ... book where a led is blinking.

Just to update if anyone should find it helpful.