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


FreeRTOS Thread Debugging with SW4STM32

interstesting i’m not yet at this level (CubeMx proj on Discoveryf4)
i added the freetros in cfg file
i added the helper symbol

start debug gdb start but not wokring
in debug view no stop pause no thread frown

what appar on the end of the gdb console

New Thread 1
Warning: the current language does not match this frame.

New Remote target
Switching to Remote target
Invalid selected thread.

it work witthout the rtos configure in cfg but no Rtos awarness

France

Hi,

The problmem may be that OpenOCD sees there is FreeRTOS in your applications, but it can’t get the list of threads as there is no initialized data and no thread list; if you put a breakpoint after creating the first task (or better in the body of the first task) instead of putting it at main it should work.

We are looking at a solution for this but, regretfully, it will take some time...

Bernard (Ac6)