Anybody got a slick way to roll an auto-incrementing build number into uVision?
I want to end up with a string constant containing a number that I can maniputate in my C code. It really doesn't matter when it was incremented, as long as it happened sometime between build n-1 and build n.
Any help would be appreciated.
Read-Only
Author Robert Wey
Posted 25-Feb-2005 18:43 GMT
Toolset C51
RE: Auto-Increment Build Number
Robert Wey
I guess one could write an app that would monitor the date/time of the output hex file and, when changed, increment the build number in an include file.
IMO, tho, that would be more of a hack than a solution.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.