This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C1294NCPDT: gmake error/driverlib files

Part Number: TM4C1294NCPDT


Tool/software: Code Composer Studio

Hi,

I am using CCS7.2, ARM compiler 16.9.4.LTS. I'm having trouble compiling a project. Can you help explain why?

Thanks,

Priya

  • Hello,

    You need to add an include search path to the root location of TivaWare.

    In my example above, the build variable SW_ROOT points to that location (C:\ti\TivaWare_C_Series-2.1.3.156). In your environment, make sure you have a path to the root of TivaWare, whether via variable or explicit path.

    Thanks

    ki

  •   In the attached screenshots, PROJECT_LOC is defined correctly but the include options are not pulling up the needed files. I've linked driverlib from the Tivaware directory, but it is still taking these files from inside the PROJECT_LOC directory. Why is this happening?

    Thanks,

    Priya

  • Priya Nadathur70 said:
    In the attached screenshots, PROJECT_LOC is defined correctly but the include options are not pulling up the needed files.

    Your first post showed errors include files such as "driverlib/adc.h" where the driverlib directory is part of the include directive.

    The latest Include Options screenshot shows "${TIVAWARE_INSTALL}/driverlib" is on the include path, which means upon a #include "driverlib/adc.h" directive the compiler would attempt to open a file in the ""${TIVAWARE_INSTALL}/driverlib/driverlib" directory which doesn't exist.

    Therefore, try adding "${TIVAWARE_INSTALL}" to the list of include paths.