NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Project Build Configurations
If you ever had the need to constantly switch between pre-configured sets of project options in the same project, then this page is for you.
Introduction[edit]
During development, it is not uncommon to have the need to create a single project that builds executables (.out files) with different project options, source files and even for completely different memory configurations. Typically most IDEs have this capability, and in CCS and Eclipse this is called Project Build Configurations or, simply, build configurations.
A Project Build Configuration defines a set of build options at the project level that can be labeled and easily accessible with a very minimal number of steps. Therefore, by creating multiple build configurations it is possible to organize and quickly switch between different sets of options, instead of changing each one individually all the time or maintaining multiple projects.
Another important feature is the Resource Configurations. It allows excluding or including source files per build configuration, thus allowing maximum customization per build configuration.
Every project created with the CCS Project wizard comes by default with two build configurations: Debug and Release. The Debug build configuration usually has no optimization and full symbolic debug enabled. This is done this way so the code can be easily debugged. Release build configuration will often have optimization enabled and symbolic debug disabled. This is when you want your code as small or as fast as possible you do not plan on doing source level debug.
References[edit]
The pages below are useful resources related to the procedure shown at this page:
Using Project Build Configurations[edit]
Please check the tutorial video below that shows the procedure to create a project and configure it to use the build configurations for a multicore device. It also covers the selection of source files through the Resource Configurations capability.
- Flash video (FLV) format
- Run time: 09:37 (mm:ss)
- Resolution: 1280x720
- Total size: 12.24MB
- http://software-dl.ti.com/sdo/sdo_apps_public_sw/CCSv5/Demos/Project_Build_Configurations/Project_Build_Configurations.html
To learn how to automate the launch of the debugger with multiple cores, check the tutorial clip below:
To learn how to customize the launch of the debugger with different Build Configurations, check the tutorial clip below: