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!!