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


Printf via SWV doesn't print anything

Tunisia

>> I have added the syscalls.c(into the source location, where main.c is)...My source configuration is 72MHz (system clock), I have included CMSIS workspace in my directory... Changed the write routine... Still doesn’t work... Code compiles, but doesn’t work...
⇒ You need to solder the ‘Solder Bridge’ SB10 (SWO)

>> I am running a GPIO example, not RTOS. Will this method mentioned by you still work?
⇒ YES

>> In addition, I have couple more question. how adding syscalls.c and changing the _write() function changes the implementaion of printf? how the syscall.c changes the implementation in ?
⇒ Simply because printf send the string characters one by one using the _write routine (avoid using -specs=nosys.specs in linker miscellaneous flags)

>> I really need get printf or ITMSend recieve working as ap. I am using stm32f3 Discovery. How to determine the clock frequency and port number so that we can see in STLInk? Please advice.
⇒ as your cpu frequency is 72MHz, then use 72000000 as System clock and Stimulus port 0