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


Logging Printf Logs on a text file and on Console[SOLVED].

I am using STM32XX device and SW4STM32 Version: 1.3.0.201507241045.I am using printf in my methods .How can I log the output of the printf on a text file by running the program on the STM32.Also how can I see the output on console.
Br,
Rp

Tunisia

I suggest using semihosting to display printf output in debugger console, for further information on semihosting see my post hereQuestion

To retarget debugger console output to a file, you have to check “File” checkbox and choose a file from Debug Configuration > Common (TAB)

Best Regards,
Tarek


Thanks.It worked !!