Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

TMS320F280049C: Accessing #define Variables in Source Code to assign to a Build Variable

Part Number: TMS320F280049C

Tool/software:

I am working on a project in Code Composer Studio (CCS) where I need to dynamically set the output filename based on specific #define values in a header file. My goal is to:

  1. Define some CCS build variables that will hold these #define values.
  2. Automatically populate these variables with the #define values after or during the compilation.
  3. Access these populated build variables in the post-build step to modify the output filename

Is there a way to configure CCS to achieve this, such as by setting specific compiler options, preprocessor settings, or environment configurations, so that I can directly pass the #define values into CCS build variables?