I am following appnote 316 to configure stack usage monitoring. Keil is giving an error "E405: Invalid statement" on the print element. As far as I can tell this is valid and correct.
How do I resolve this issue?
Thanks
Thanks for the fast reply.
Are you running a recent version of the Keil tools?
If you look at the "Revision history" on this page:
https://www.keil.com/pack/doc/compiler/EventRecorder/html/index.html
You can see they added features to the standard as time went by. Perhaps your version of the tools pre-dated the print command?
I tested this in MDK v 5.28a available at keil.com/demo
We are using 5.22. I don't see in that table what version the PRINT feature was introduced.
Hi AJ,
on the revision history, I think print was part of the "Changed protocol version to 1.1. " update that happened in the V1.4.0. If you can use arm Compiler pack v 1.40 or later (came out in March 2018) you should have access to 'print'