Home/Support/Support Forum/How can I set _FIRMWARE_NAME_ and _FIRMWARE_VERSION_ from c source
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can I set _FIRMWARE_NAME_ and _FIRMWARE_VERSION_ from c source

0 votes
Dynamic C 10.70
I need to have version control of my application be based in the source code rather than the compiler control files.
Is this even allowable in Dynamic C?
asked Jun 13, 2017 in Rabbit by Jim_255 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Go into "File/Project/Save As..." and you can save the project file (.dcp) for your builds. That file contains all compiler settings, including project macros. You should be able to store that in the same directory as your source code, and even eliminate the need for absolute pathnames (but you might need to edit the .dcp file manually for that). You'll also want to have your custom LIB.DIR file there to point to the directory with your libraries.

You should also be able to use that .dcp file for command-line compiler builds with "dccl_cmp.exe".

And consider upgrading to the latest release available on digi.com -- Dynamic C 10.72B. And if you're comfortable with Git for version control, you can access development builds on GitHub: https://github.com/digidotcom/DCRabbit_10
answered Jun 13, 2017 by TomCollins Veteran of the Digi Community (1,998 points)