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/TDA2E: Defines and symbols in project

Part Number: TDA2E


Tool/software: Code Composer Studio

Hello!

I want to clarify work with default symbols and define in projects settings which add when add products (PDK, IPC, etc).

For example I have a project with next defines for libraries:

${COM_TI_UIA_LIBRARIES}
${COM_TI_NDK_LIBRARIES}
${COM_TI_IPC_LIBRARIES}
${COM_TI_EDMA3_LLD_LIBRARIES}
${COM_TI_PDK_LIBRARIES}
${COM_TI_BIOS_LIBRARIES}

and paths to libraries:

${COM_TI_UIA_LIBRARY_PATH}
${COM_TI_NDK_LIBRARY_PATH}
${COM_TI_IPC_LIBRARY_PATH}
${COM_TI_EDMA3_LLD_LIBRARY_PATH}
${COM_TI_PDK_LIBRARY_PATH}
${COM_TI_BIOS_LIBRARY_PATH}

when I try to verify/check location of library or it name I do not see, only:

After succsess build all librarys with paths you can find in ${PROJECT_ROOT}\Debug\configPkg\linker.cmd file.

    "${PROJECT_ROOT}\Debug\configPkg\package\cfg\helloWorld_pa15fg.oa15fg" // use defines to hide user name
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\hal\timer_bios\lib\hal_timer_bios.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\os\lib\os.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\hal\userled_stub\lib\hal_userled_stub.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\hal\eth_stub\lib\hal_eth_stub.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\tools\cgi\lib\cgi.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\tools\hdlc\lib\hdlc.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\tools\console\lib\console_min_ipv4.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\netctrl\lib\netctrl_min_ipv4.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\nettools\lib\nettool_ipv4.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\hal\ser_stub\lib\hal_ser_stub.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\tools\servers\lib\servers_min_ipv4.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\stack\lib\stk.aa15fg"
    "${PROJECT_ROOT}\src\sysbios\sysbios.aa15fg" // use defines to hide user name
    "C:\ti\SDK_VI\ti_components\networking\nsp_gmacsw_4_16_01_01\packages\ti\nsp\drv\lib\debug\ti.nsp.drv.ndk2nsp.aa15fg"
    "C:\ti\SDK_VI\ti_components\networking\nsp_gmacsw_4_16_01_01\packages\ti\nsp\drv\lib\vayu\debug\ti.nsp.drv.gmacsw.aa15fg"
    "C:\ti\SDK_VI\ti_components\os_tools\bios_6_46_06_00\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa15fg"
    "C:\ti\SDK_VI\ti_components\os_tools\bios_6_46_06_00\packages\gnu\targets\arm\rtsv7A\lib\boot.aa15fg"
    "C:\ti\SDK_VI\ti_components\os_tools\bios_6_46_06_00\packages\gnu\targets\arm\rtsv7A\lib\syscalls.aa15fg"

In some cases default symbols do not work and I add library manualy. When added library delete from ${PROJECT_ROOT}\Debug\configPkg\linker.cmd.

Where can I find all symbols for products?

Why can't I check it out  in Properties?

Why can't I find all defines in project Properties->Resource->Linked Resources? Why aren't all the symbols and defines displayed there? for example ${XXX_LIBRARIES} and ${XXX_LIBRARIES_PATHS}

Why is there no search in long lists (for example in Variable)? It is so tedious to search the lists for the desired definition (when elements over 100 for example).

What am I doing wrong?

George.

  • George Rodionov said:
    Where can I find all symbols for products?

    Some variables are automatically defined based on the products (like DSPLib, NDK, etc) that are installed into CCS, but there are also some variables that appear to be defined but are actually not. I believe the ones you point out are some of those variables that do not actually resolve to any path. If so, their presence in the project will not have any affect.

    George Rodionov said:
    Why can't I find all defines in project Properties->Resource->Linked Resources? Why aren't all the symbols and defines displayed there? for example ${XXX_LIBRARIES} and ${XXX_LIBRARIES_PATHS}

    The variables that are defined can be seen by going to Project Properties->Build->Variables tab and enabling the "Show system variables" box.

    George Rodionov said:
    Why is there no search in long lists (for example in Variable)? It is so tedious to search the lists for the desired definition (when elements over 100 for example).

    That is a valid point. However being that these features are inherited from Eclipse, there may not be much we do to customize those project property views.