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 Projects from the menu.

    Import Project in CCS - 1
  • 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

    Import Project in CCS - 2

Modify Project Dependencies (Optional)

  • Right click on imported project. Select Properties from the dropdown menu.

    Select Project Properties
  • Navigate to General->Dependencies. Add, Remove, or Edit any dependencies on demand.

    Edit Sysconfig dependency

Note

For AM13E232x, you may have to change the Sysconfig version to point to the tool shared by your TI representative. AM13E23x Sysconfig support is still in Early Access and not available publicly.

Build and Load the example

Build and Load together in a single click

  • Right click on the project and select ‘Debug Project (F5)’ option

    Debug Project in CCS
  • It performs the following sequence

    • Builds the project

    • Launches the Target Configuration based on the .ccxml present in the targetConfigs folder

    • Loads 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 > Compilers

  • Make 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.