can I Pass version number of my code while building the project ?

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

can I Pass version number of my code while building the project ?

389 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Prajakta_26 on Tue Mar 10 03:52:18 MST 2015
Hello,

I am new to LPCXpresso . I want to pass the version number of my code while building the project. Is it possible?? If it is possible, How to do it?


Thanks in advance.





Prajakta
0 项奖励
3 回复数

380 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Mar 10 06:57:33 MST 2015
You'll have to tell us exactly what you have done. Probably easiest to

1. post your build log so we can see how you are trying to pass the definitions to the compiler
2. post the source code that shows how you are trying to use the definitions
3. Explain what you think is not working
0 项奖励

380 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Prajakta_26 on Tue Mar 10 04:39:54 MST 2015
Thanks for your suggestion. But Using this I am not getting what I want.
I am clearing one more time , "If my current firmware version is V1_0, after som changes I am renaming it as V1_1. This V1_1 I want to pass using pre build steps,if possible . Or by any other method."

0 项奖励

380 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Mar 10 04:02:57 MST 2015
This has been asked on the forum before...

http://www.lpcware.com/content/forum/add-build-release-source-code-compilation
0 项奖励