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/TM4C123GH6PM: Not compile driverlib/pin_map.h not found.

Part Number: TM4C123GH6PM

Tool/software: Code Composer Studio

I got this error trying to compile.
**** Build of configuration Debug for project inversor ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

Building file: "../main.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/inversor" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" --define=ccs="ccs" --define=PART_TM4C123GH6PM -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
"../main.c", line 20: fatal error #1965: cannot open source file "driverlib/pin_map.h"
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

i allready install TivaWare - C
i did this but didn't work. 


where is my mistake?


thanks
Pedro

  • Hi Pedro,
    Your compiler include search path list (second screenshot) is missing several required paths to TivaWare. You definitely need:

    C:\ti\TivaWare_C_Series-2.1.4.178

    You may need a few more. Refer to the Tiva Ware documentation for more details.

    Thanks
    ki
  • Ki-Soo Lee said:
    Hi Pedro,
    Your compiler include search path list (second screenshot) is missing several required paths to TivaWare. You definitely need:

    C:\ti\TivaWare_C_Series-2.1.4.178

    You may need a few more. Refer to the Tiva Ware documentation for more details.

    Thanks
    ki



    i add C:\ti\TivaWare_C_Series-2.1.4.178  as you say and it works!! thanks!