[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Re: Code version timestamp
From: |
Volkmar Dierkes |
Subject: |
[avr-gcc-list] Re: Code version timestamp |
Date: |
Thu, 15 Sep 2005 20:46:07 +0200 |
User-agent: |
40tude_Dialog/2.0.13.1de Hamster/2.0.6.0 |
On Wed, 14 Sep 2005 12:07:22 +0200, address@hidden wrote:
> I would like to display a "code version" (date/time or incremental number)
> during init on an LCD display.
> Does anybody know if there is any information in the executable (ROM file)
> that
> I can use at runtime (updated by the linker for example) ?
>
> If no, does anybody know how to implement this ?
Besides the proposal to use __DATE__ and __TIME__, I implemented a
batch-file solution for windows to create an incrementing build
number a while ago. If you are interested in that, I could look in
my archives to provide you the information.
Volkmar