I'm working on MSP430 Launchpad and writing some simple softwares on this launchpad. I'm changing my software by adding new features and upload the new software to the launchpad. After some time i forget which version was on the launchpad. I want to know how can i learn which software version was on the launchpad. What is the best way to learn which software is on the launchpad?
Just put an unused variable in your program:
#pragma RETAIN(version)
static const char version[] = "v1.23 (with yesterday's changes)";
and look at it with the debugger.
You might also add __DATE__
and __TIME__
.