cancel
Showing results for 
Search instead for 
Did you mean: 

How to add real date to compilation (Cosmic)

akel
Associate II
Posted on April 03, 2006 at 20:10

How to add real date to compilation (Cosmic)

3 REPLIES 3
akel
Associate II
Posted on April 03, 2006 at 13:49

Hi,

It is possible to get by compiler

real date from computer RTC

and put to defined place in Flash

memory.

I want to use it as version identifiction

Regards

Andrew

Viktor POHORELY
ST Employee
Posted on April 03, 2006 at 15:21

I dont think it is possible, but there is no reason to do that, isn't it better to put your own version number into FLASH and increase it in case you have made some changes into the source code?

luca239955_st
Associate III
Posted on April 03, 2006 at 20:10

look for __DATE__ in the document clanguage.pdf that is in your compiler installation; that should allow you to somehow insert the compilation date into your executable.

Regards,

Luca (Cosmic)