C How To Compile Tiva Source Code; Tiva Libraries Compilation; Tiva Driverlib Compilation; Tiva Usblib Library - Texas Instruments DLP NIRscan User Manual

Table of Contents

Advertisement

C.1

Tiva Libraries Compilation

The DLP NIRscan Nano Tiva software uses two libraries from the TivaWare package: Tiva driverlib and
Tiva usblib. It also uses a third library: DLP Spectrum Library. These libraries must be compiled under
CCS before building the DLP NIRscan Nano software.
C.1.1 Tiva driverlib Compilation
To compile the TivaWare driverlib library, follow these steps:
1. Import the driverlib library by selecting Import from the File Menu.
2. In the new Import dialog window, select CCS Projects under C/C++ folder and click Next.
3. Find the location of the TivaWare driverlib project by browsing to the directory
C:\ti\tirtos_tivac_2_10_01_38\products\TivaWare_C_Series-2.1.0.12573c\driverlib and click OK.
4. Compile this newly added driverlib project by selecting Clean from the Project Menu. Ensure that
driverlib project is checked and select "Build only the selected project" and then click OK.
C.1.2 Tiva usblib Library
To compile the TivaWare usblib library, follow these steps:
1. Import the usblib library by selecting Import from the File Menu.
2. In the new Import dialog window, select CCS Projects under C/C++ folder and click next.
3. Find the location of the TivaWare usblib project by browsing to the directory
C:\ti\tirtos_tivac_2_10_01_38\products\TivaWare_C_Series-2.1.0.12573c\usblib and then click OK.
4. Compile this newly added usblib project by select Clean from the Project Menu. Ensure that usblib
project is checked and select "Build only the selected project" and then click OK.
C.1.3 DLP Spectrum Library
The DLP Spectrum Library is a collection of C-language routines that provide the fundamental pieces to
use a DLP system in a spectroscopy application. These routines are shared by the Tiva firmware,
NIRscan Nano GUI, and iOS App. To compile the DLP Spectrum Library for Tiva firmware, follow these
steps:
1. Import the DLP Spectrum Library by selecting Import from the File Menu.
2. In the new Import dialog window, select CCS Projects under C/C++ folder and click Next.
3. Find the location of the dlpspeclib project by browsing to the install directory:
C:/ti/DLPNIRNANO_SPECLIB.
4. Compile this newly added dlpspeclib project by selecting Clean from the Project Menu. Ensure that
dlpspeclib project is checked and select "Build only the selected project" and then click OK.
C.2

Tiva Main Source

The Tiva main program sources are installed by the DLPNIRscanNanoSoftware package. This package
installs the Code Composer Studio project and source at the default directory
C:\ti\DLPNIRscanNanoSoftware_1.0.0
1. Import the Mobile Spectroscopy Tiva EVM by pulling-down the File Menu and select Import.
2. In the new Import dialog window, select CCS Projects under C/C++ folder and click Next.
DLPU030B – June 2015 – Revised July 2015
Submit Documentation Feedback
How to Compile Tiva Source Code
Copyright © 2015, Texas Instruments Incorporated
Appendix C
DLPU030B – June 2015 – Revised July 2015
How to Compile Tiva Source Code
51

Advertisement

Table of Contents
loading

Table of Contents