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


Breakpoint at the wrong line

Something is wrong with the previous answers.

The optimization option (-O) has a number (0-3). As the number increases, the optimization that the compiler does increases.

When debugging, you want to turn the optimization off (-O0).

When you release your code you want to test and release with higher levels of optimization (-O3).

If your toolchain is set with debug set to 3 and release set to 0, that’s just wrong.

Andrei