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?
Thank you,
David Zhou
Solved! Go to Solution.
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”.
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!
-----------------------------------------------------------------------------------------------------------------------
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”.
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!
-----------------------------------------------------------------------------------------------------------------------
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