When working on embedded HW it is always easy to loose track of what exactly is running. A common trick is to include the SVN rev number, timestamp or some other counter.
Right now the system seems to track the build number. Is this exposed; so we can do something like
printf("Started (Build #" __BUILD_NO__ " - compiled " __DATE__ "\r\n");
Another vote for this. It would be very handy to be able to check the build number!
Hi Dirk, Ian,
We don't support this, but we could do something like it. Would a timestamp be acceptable for you (e.g. a UNIX timestamp)?
i'd like to be able to printf it so that i can identify a 'build number' in the final system.
You can already printf the TIME macro (or variable?):
printf("******** [%s] *********\n",__TIME__);
Excellent point Hendrik,
See more: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0041c/Babbacdb.html
We will still look at including our own data in the build in the future.
Please log in to post a reply.
mbed, the fastest way to prototype with ARM based microcontrollers.
^ back to top