Other Parts Discussed in Thread: TM4C123GH6PM
Tool/software: Code Composer Studio
Hello,
I'm trying to compile the LAB 12 project (UART) of the TIVA C Launchpad Workshop.
The CCS version I use is: 7.1.0.00016
I imported the project successfully to CCS but when I tried to build it I got the following error:
**** Build of configuration Debug for project lab12 ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include" -g --define=DEBUG --define=PART_TM4C123GH6PM --define=TARGET_IS_BLIZZARD_RB1 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.d" "../main.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
"../main.c", line 3: fatal error #1965: cannot open source file "inc/hw_memmap.h"
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
gmake: *** No rule to make target 'C:/ti/ccsv7/eclipse/TIVAWARE_INSTALL/driverlib/ccs/Debug/driverlib.lib', needed by 'lab12.out'.
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
I think it has something to do with the fact that the CCS version I'm using doesn't match the version that has been used to create the labs.
But suppose I want to continue using it - how should I fix the problem ?