Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


You are viewing a reply to Where do I find diag/Trace.h?  

Where do I find diag/Trace.h?

Well I have somewhat solved this for myself. The app I was trying to build is built using the GNU ARM Eclipse plugin. That plugin installs Trace.c and Trace.h in a diag folder inside the project. Those trace files create commands like trace_printf which are used to print to the eclipse console while debugging. I have not been able to add those to my project...although I didn’t try very hard.

What I did do is add semihosting as is documented on this forum. This allows the standard printf command to print to the eclipse console while debugging. This appears to accomplish what the trace files did in the GNU ARM plugin.

Thanks to those who documented semihosting and thanks to ac6 who developed System Workbench. It is saving me a bunch of time. It’s nice to have a professional package that is priced so affordably!!