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.

_TMS320C6740 not defined

Other Parts Discussed in Thread: TMS320C6748

Hello,

I'm trying to buil an application for the device TMS320C6748 with CCSv5.4.
But the predefined macro _TMS320C6740 does not seem to be defined.
All the area for C6740-specific definitions in the file <c6x.h> are grayed-out.
Is it normal? or, do I have to do something?

Following are the messages in CDT Build Console:

**** Build of configuration Debug for project C6748test ****

"E:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: C6000 Compiler'
"E:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6740 --abi=coffabi -g --include_path="E:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --define=c6748 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
'Finished building: ../main.c'
' '
'Building target: C6748test.out'
'Invoking: C6000 Linker'
"E:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6740 --abi=coffabi -g --define=c6748 --display_error_number --diag_warning=225 --diag_wrap=off -z --stack_size=0x800 -m"C6748test.map" --heap_size=0x800 -i"E:/ti/ccsv5/tools/compiler/c6000_7.4.2/lib" -i"E:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="C6748test_linkInfo.xml" --rom_model -o "C6748test.out" "./main.obj" -l"libc.a" "../C6748.cmd"
<Linking>
'Finished building target: C6748test.out'
' '

**** Build Finished ****


Regard,
Takano

  • Hi Takona,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    We are not sure about your objective/ question.

    1. For which device your application is built? for C6740 or C6748? Did you get any build errors? But as per your post, it says the build has been finished!.

    2. Would you like to define the macro which was not defined? ie., _TMS320C6740 -- If this is the question and if you think that macro is to be defined, you can define it.

    3. Would you like to ask us why the "C6740-specific definitions in the file <c6x.h> are grayed-out."?

    If this is the question,  there are many context specific gray indications in CCS. The Few among them is given below from the help contents of CCS: 

    1. The code in gray may not included for compilation due to compiler directives.

    2. Missing Source Files - Gray text indicates files not found. Double-click the file to browse for the missing file. 

    I would recommend you to go through some training materials ( below) on CCS.

    Getting started: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv5/Demos/CCSv5GettingStarted.html

    Workshops: http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5#Workshops

    Video Tutorials: http://processors.wiki.ti.com/index.php/Video_Tutorials_CCSv5

    http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS

    And more over, there is a dedicated CCS Forum to handle CCS queries. This is device specific forum.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------