This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can CCS increment a build number in a txt file, then include result in c code?



Hi,

I have a customer who is using CCSv4 and would like to automatically increment a build number in a text file each time he rebuilds his project, then include that modified file in the source code of his MSP430 project. He tried using some project build settings (Pre-build steps) but is having a lot of trouble.

Is there a simple way to do this, or perhaps an example project setup or scripts that he could leverage?

This is all the information I have from him at the moment, let me know if there are some key questions I should ask him to get you enough information to help.Thanks for any advice you can give me.

Regards,

Katie