Is it possible to have the version number of a compile auto increment and be a part of the code to be retrieved at run time? Thanks
No. The nearest you get with the Keil tools alone is __DATE__ and __TIME__. You would need a 3rd-party (or homegrown) utility to provide such a build number.