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.
Hi,
I have successfully imported project from "C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\examples\cpu1\timer" and also properly compiled in CCS 10.0. There are no errors during compilation.
But,when i include "Driverlib" in build, compiler shows error "gmake: device/driverlib/adc.obj", eventhough i am not able to see error in any of c or h files as all files are exactly same (without any modification done) as provided by TI C2000ware.
Similar, i had tried to create new project for timer_ex1_cputimers.c and by adding manually "C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\driverlib" files in this new project. Also all include file path settings are done in Project Properties -> Include options and CPU1 also defined. But, in this new project, also facing same compiler error issue. Compiler is able to create obj files for all c files in "C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\driverlib" except adc.c.
I am not clear as nothing is modified in any of c or h files of driverlib files and also nothing modified in timer_ex1_cputimers.c file, when why compiler is showing this error. Please check attached snapshots and suggest the solution.
Note: there are no files in "Application" folder in project and folder "driverlib" all files as in "C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\driverlib" without any modification.
Hi,
In continuation with my previous post, below are compiler messages regarding this adc.obj error:
-------------------------------------------------------------------------------------------------------------------------------------------------
"C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../device/driverlib/adc.c"
Invoking: C2000 Compiler
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/Ajay/Self/TMS320/firmware/Development/30Aug2020_test1" --include_path="D:/Ajay/Self/TMS320/firmware/Development/30Aug2020_test1/device/driverlib" --include_path="D:/Ajay/Self/TMS320/firmware/Development/30Aug2020_test1/device" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --advice:performance=all --define=CPU1 --define=DEBUG -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/driverlib/adc.d_raw" --obj_directory="device/driverlib" "../device/driverlib/adc.c"
>> Compilation failure
device/driverlib/subdir_rules.mk:9: recipe for target 'device/driverlib/adc.obj' failed
INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\acia2000.exe experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0
This is caused by a defect in the TI EABI C/C++ Parser.
TI Customer Support may be able to suggest a workaround to avoid this.
Upgrading to the newest version of the compiler may fix this problem.
Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue".
We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.
Include the .pp file created by option --preproc_with_comment
gmake: *** [device/driverlib/adc.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
-------------------------------------------------------------------------------------------------------------------------------------------------
Please suggest the solution.
Regards,
Devendra
Regards,
Devendra
For this source file ...
Devendra Singh1 said:Building file: "../device/driverlib/adc.c"
... please follow the directions in the article How to Submit a Compiler Test Case.
Thanks and regards,
-George