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

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

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

535 Views
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 Kudos
Reply
3 Replies

526 Views
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 Kudos
Reply

526 Views
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 Kudos
Reply

526 Views
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 Kudos
Reply