Import, Build and Load Examples in CCS
Note
The images displayed in this guide are for reference only. Path names, available SoCs, and boards may vary depending on installed SDK.
Import the Example in CCS
In CCS, select
File → Import Projectsfrom the menu.
Navigate to the SDK example of interest at
{SDK PATH}/examples/. For example,{SDK PATH}/examples/driverlib/gpio/gpio_toggle_output/Discovered projects are listed. Select a project and click
Finish
Modify Project Dependencies (Optional)
Right click on imported project. Select
Propertiesfrom the dropdown menu.
Navigate to
General->Dependencies. Add, Remove, or Edit any dependencies on demand.
Build and Load the example
Build and Load together in a single click
Right click on the project and select ‘Debug Project (F5)’ option
It performs the following sequence
Builds the project
Launches the Target Configuration based on the
.ccxmlpresent in the targetConfigs folderLoads the program
Additional Info
Migration to a different TI ARM CLANG version
Below steps should be followed to change TI ARM CLANG version from default SDK supported version to another:
Install the specific TI ARM CLANG version from https://www.ti.com/tool/download/ARM-CGT-CLANG
Goto
Code Composer Studio Settings > General > CompilersMake sure you see the compiler version listed here. Sometimes, you need to click
Refresh.Now import the required example into CCS.
Right click on the CCS project and Goto
Properties > General > Compiler.Select the compiler version from the dropdown.
Build and Run the imported project.