Application Firmware Build Version Settings

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Application Firmware Build Version Settings

Jump to solution
490 Views
davidzhou
Contributor V

HI,

 

It seems to me that the Code Warrior MQX compiler might have created a version number for flash binary file , such as .elf.

The version may include Major.Minor.Build, etc. I can not find any info related with the firmware build version. But I found old version of Code Warrior IDE preferences related to build settings. Does Code Warrior Version 10.6.4 have build settings (version ) for the generated application firmware?

 

156421_156421.pngpastedImage_0.png

 

Thank you,

David Zhou

Labels (1)
0 Kudos
1 Solution
371 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello David

There are similar build settings for DSC in CodeWarrior 10.6.4.  To get it, please open the Properties for your project, you can do it from <Project> Menu->Properties, or put your mouse on the project view in Project view, and choose <Properties> in right-click submenu.  Then go to <C/C++ Build> panel, you can find the similar options here. For more options of build tool chain, please click on “Settings”.

 

build.png

There is no option in CodeWarrior IDE to set the version number.  You can use the Predefined Symbols “__TIME__” in your source code to get the compilation time. For details, please refer to DSC Build Tools Manual.

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
372 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello David

There are similar build settings for DSC in CodeWarrior 10.6.4.  To get it, please open the Properties for your project, you can do it from <Project> Menu->Properties, or put your mouse on the project view in Project view, and choose <Properties> in right-click submenu.  Then go to <C/C++ Build> panel, you can find the similar options here. For more options of build tool chain, please click on “Settings”.

 

build.png

There is no option in CodeWarrior IDE to set the version number.  You can use the Predefined Symbols “__TIME__” in your source code to get the compilation time. For details, please refer to DSC Build Tools Manual.

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
371 Views
davidzhou
Contributor V

Hi Xin,

Thank you for your help.

It would be better if the compiler embeds MajorVersion.MinorVersion.Build into the firmware itself. _TIME_ is not that useful.

Thank you,

David Zhou

0 Kudos