Hi Matt,
I have a static method to do this but hopefully someone else has dynamic version too.
In the Properties you can do a Define symbol in the Preprocessor as shown below:

In your "C" file do the following for declaration:
| static const unsigned int BUILD_NUMBER = __BUILD_NUMBER; | | //DES added as a Pre-Processor Define constant |
Then in code you can printf it.
| PRINTF("\r\nBUILD_NUMBER = 0x%X", BUILD_NUMBER); | | //DES added |
I used the hello_world_frdmk64f as my test project in KSDK_1.2..
My terminal output looked like:
Hello World!
BUILD_NUMBER = 0x12345670
Regards,
David