Application Firmware Build Version Settings

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Application Firmware Build Version Settings

跳至解决方案
1,057 次查看
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

标签 (1)
0 项奖励
回复
1 解答
938 次查看
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 项奖励
回复
2 回复数
939 次查看
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 项奖励
回复
938 次查看
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 项奖励
回复