I have searched the forums and the internet to the best of my ability, but have failed to find the answer.
Is it possible to use printf when using the Simulator?
"Debug (printf) Viewer" remains empty no matter what I do. I have chosen TM4C129x as the "Device" but using Simulator mode so the device is not as relevant.
Any help, especially sample code would be much appreciated.
I have looked at https://www.keil.com/pack/doc/compiler/RetargetIO/html/_retarget__examples_er.html
Trying to recreate this project from scratch gives me a compilation warning that ARM_LIB_STACK is undefined. The .c and .s files are identical, so I am guessing that there is something different in the compiler directives....
ARM_LIB_STACK is defined in the scatter file (xxx.sct). This is a linker file.
Thanks. Adding the scatter file allowed me to replicate the example.
For TM4C129x, there is no scatter file produced by the linker when using the defaults, so still working to see how the example can be ported to TM4C129x.