RE: FIRMWARE VERSION INFOMATION

"'Yang Hong' [email protected] [rabbit-semi]" <[email protected]> Sat, 3 Sep 2016 10:20:42 -0400
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Organization Omniverter Inc.
Message-ID <[email protected]>
Hello, Tom:

 

Is it possible to change the user defined part of firmware version
information in the run-time?

 

Thanks a lot.

 

Regards,

 

Yang

 

From: [email protected] [mailto:[email protected]] 
Sent: Friday, September 2, 2016 5:50 PM
To: [email protected]
Subject: Re: [rabbit-semi] FIRMWARE VERSION INFOMATION

 

  

What do you want to modify?

 

If you look at the function help for firmware_info_t (in Dynamic C, hit
Ctrl-H with the cursor on that term) you'll see that you have control over
the following:

 

            program_name is set by the project macro _FIRMWARE_NAME_

            version is set by the project macro _FIRMWARE_VERSION_

            build_timestamp is set by the project macro _FIRMWARE_TIMESTAMP_

 

Note that _FIRMWARE_TIMESTAMP_ just overrides use of the current time.
Setting it to a fixed value allows for builds that result in identical
binaries.

 

-Tom






 

On Sep 2, 2016, at 1:56 PM, [email protected] <mailto:[email protected]>
[rabbit-semi] wrote:






We can use fiProgramInfo to get firmware information, but it looks we only
get a read only copy. the frimware information, there are some user define
parts, is it possible modify user defi! ne parts?