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


ST-link printf to console with GDB and semihosting or ITM and ST Link Utility

Hi, please can you explaine how to activate the SWO without passing by CubeMX, by adding the code responsible for this manually.
EDIT:
So i stalled with the semihosting and i get it to work in SWSTM32 on stm32f407biggrinbiggrinbiggrin:
-First you dont need to add the serial wire from cubemx if you need a cubemx project (for me a default project just activate the semihosting without more confugiration).
-If you dont need to use a cubemx project you just need to do the steps as described above(1-5) then delete all the function in syscalls.c which make errors then delete the “int _write(int file, char *ptr, int len)” and then the semihosting is working.