Actions

EmSys

Using GCC with Tiva TM4C123G LaunchPad in CCSv6

From EdWiki

Revision as of 06:28, 19 September 2016 by Jshankar (Talk | contribs)

Introduction

Code Composer Studio v6 includes a Linaro distribution of the ARM GNU compiler, so programmers have the option of using this GCC Compiler instead of the TI compiler to build their projects.

Objective

In this lab, we’ll create a project that contains two source files, main.c and tm4c123gh6pm_startup_ccs_gcc.c, which contain the code to blink an LED on your LaunchPad board. The purpose of this lab is to practice creating projects and getting to know the look and feel of Code Composer Studio. In later labs we’ll examine the code in more detail. So far now, don’t worry about the C code we’ll be using in this lab.

Click each one of the following links in the order given below to build and debug projects for TivaC devices using GCC Compiler.

Ek tm4c123gxl launchpad.png

Install Code Composer Studio v6
Install TivaWare™ for C Series
Initial Board Setup
Create a New CCS Project
Review the CCS GUI
Add Path and Build Variables
Add files to your project
Link the TivaWare libdriver.a file to your project
Add the INCLUDE search paths for the header files
Examine Project Explorer
Build your project and fix any errors
Debug Configuration
Load, Debug, Run

HowTos

Install/Upgrade ICDI Device Drivers



Helpful Documents

You can find additional information at these websites: