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.

Platform Test for TMS320C6678 Evaluation Board

Hello, I found a Platform Test project in the pdk directory that I'm trying to get working. Here is the direct path to the project;

C:\ti\pdk_c667x_2_0_1\packages\ti\platform\evmc6678l\platform_test

I imported the project into my workspace but when I compile the project it gives a lot of errors.

"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 89: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined

 

I get a lot of the same kind of errors.

I will attached a file that shows all the errors.

 

platform_Test.txt
C:\ti\pdk_c667x_2_0_1\packages\ti\platform\evmc6678l\platform_test
**** Clean-only build of configuration Debug for project platform_test_evmc6678l ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean 
DEL /F  "platform_test_evmc6678l.out" 
Could Not Find C:\ti\workspace\platform_test_evmc6678l\Debug\platform_test_evmc6678l.out
DEL /F "C:\ti\pdk_c667x_2_0_1\packages\ti\platform\evmc6678l\platform_test\obj\platforms_utils_test.obj" 
Could Not Find C:\ti\pdk_c667x_2_0_1\packages\ti\platform\evmc6678l\platform_test\obj\platforms_utils_test.obj
'Finished clean'
' '

**** Build Finished ****

**** Build of configuration Debug for project platform_test_evmc6678l ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
'Building file: ../src/platforms_utils_test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/ti/pdk_c667x_2_0_1/packages/ti/csl" --include_path="C:/ti/pdk_c667x_2_0_1/packages" --include_path="C:/ti/pdk_c667x_2_0_1/packages/ti/platform" --display_error_number --diag_warning=225 --obj_directory="C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj"  "../src/platforms_utils_test.c"
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 89: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 130: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 168: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 209: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 252: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 293: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 335: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 384: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 425: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 469: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 517: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_semAux.h", line 568: error #20: identifier "CSL_SEMAPHORE_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 110: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 184: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 232: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 289: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 332: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 375: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 418: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 467: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 507: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 551: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 594: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 652: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 695: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 731: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 768: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 804: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 841: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 892: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 939: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_xmcAux.h", line 974: error #20: identifier "CSL_DSP_DSP_XMC_CTRL_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 92: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 130: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 168: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 203: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 245: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 292: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 329: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 364: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 399: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 434: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 469: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 508: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 560: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 612: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 663: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 715: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 768: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 820: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 886: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 943: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1008: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1066: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1133: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1187: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1222: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1257: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1292: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1327: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1366: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1415: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1461: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined

"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1498: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
>> Compilation failure
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1539: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1574: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1607: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1640: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1679: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1743: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1800: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1865: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1922: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 1986: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 2045: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 2096: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 2150: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 2202: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 2256: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
"C:/ti/pdk_c667x_2_0_1/packages/ti/csl/csl_cacheAux.h", line 2308: error #20: identifier "CSL_C66X_COREPAC_REG_BASE_ADDRESS_REGS" is undefined
80 errors detected in the compilation of "../src/platforms_utils_test.c".
gmake: *** [C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

 

Here is a screen shot of Code Composer:

 


 

Can anyone help me get this working?

 

Thanks,

Joe

  • Hi Joe,
    It is known issue, we have reported to internal team, it will be fixed in next release.

    Define "SOC_C6678" and "DEVICE_C6678" in predefined symbols of CCS properties settings.

    Please refer to the following e2e post.
    e2e.ti.com/.../515108
  • Rajasekaran,

    Thank you very much for answering my post.
    Have a good day!
  • Raja,

    Hi, I added the Pre-define names SOC_C6678 and DEVICE_C6678 and also added the to libraries to my project. I only have 25 errors now:

    >> Compilation failure
     ---------                     ----------------                                                                              
     platform_blocknpage_to_offset C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj

    Here is the complete list of errors:

    platform_Test_errors.txt
    **** Build of configuration Debug for project platform_test_evmc6678l ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building target: platform_test_evmc6678l.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6600 --abi=eabi -g --define=SOC_C6678 --define=DEVICE_C6678 --display_error_number --diag_warning=225 --obj_directory="C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj" -z -m"platform_test_evmc6678l.map" -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.14/lib" -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" -i"C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_lib/lib/debug" --reread_libs --warn_sections --xml_link_info="platform_test_evmc6678l_linkInfo.xml" --rom_model -o "platform_test_evmc6678l.out" "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj" "../platform_utils.cmd"  -l"ti.platform.evm6678l.ae66" -l"libc.a" 
    <Linking>
    error #10008-D: cannot find file "ti.platform.evm6678l.ae66"
    
     undefined                     first referenced                                                                               
      symbol                           in file                                                                                    
    
    >> Compilation failure
     ---------                     ----------------                                                                               
     platform_blocknpage_to_offset C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_delay                C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_device_close         C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_device_erase_block   C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_device_open          C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_device_read          C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_device_write         C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_errno                C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_external_memory_test C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_get_coreid           C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_get_emac_info        C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_get_info             C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_get_switch_state     C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_init                 C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_internal_memory_test C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_led                  C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_uart_init            C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_uart_read            C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_uart_set_baudrate    C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_uart_write           C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_write                C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
     platform_write_configure      C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj
    
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "platform_test_evmc6678l.out"
       not built
    gmake: *** [platform_test_evmc6678l.out] Error 1
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

    Also, here is a screen shot of Code Composer:

    I'm getting close. Can you please look at my list of compilation errors and maybe find what is causing the problem?

    Thanks,

    Joe

  • Dear Joe,
    The problem seems to be library linking issue.
    You have add the libraries in the following location of CCS properties.

    CCS project properties -> Build -> CCS Linker -> File search path

    Refer to this wiki page.
    processors.wiki.ti.com/.../Include_paths_and_options
  •  Titus,

    Hi, thanks for responding to my post. Quick question. I understand how to add the library "ti.csl.ae66" in the Project->Properties->CCS Built->C6000 Linker->File Search Paths. I added the library in the "Include Library" box. I'll upload a screen shot. Does that look right? Now here's my question. when adding the "pre-built" library "ti.platform.evm6678l.ae66" is that done at the same window?

  • I thought it was necessary to add the following so others can help.

    I'm trying to add:

    "pre-built library in the following path.
    C:\ti\pdk_c667x_2_0_1\packages\ti\platform\evmc6678l\platform_lib\lib\release\ti.platform.evm6678l.ae66"

    which is from web page:
    e2e.ti.com/.../515108

    I'm not sure if the library being "pre-built" means anything and I can add it just like I did in the above screen shot that I included.

    Thanks
  • I hope that solved your problem.
    Thanks for the update.
  • Hello, I still need your help. How do I had the "pre-built"  library? Do I do it the same as the "ti.csl.ae66" library?

  • Yes, you are right, you need to do the same settings for pre-built libraries too.
  • Titus,

    Hello and thank you for responding to my post. I did add the file C:\ti\pdk_c667x_2_0_1\packages\ti\platform\evmc6678l\platform_lib\lib\release\ti.platform.evm6678l.ae66"

    Now when I compile the project I get the following errors:

    CCS_CompilerError.txt
    **** Build of configuration Debug for project platform_test_evmc6678l ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../src/platforms_utils_test.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/ti/pdk_c667x_2_0_1/packages/ti/csl" --include_path="C:/ti/pdk_c667x_2_0_1/packages" --include_path="C:/ti/pdk_c667x_2_0_1/packages/ti/platform" --define=SOC_C6678 --define=DEVICE_C6678 --display_error_number --diag_warning=225 --obj_directory="C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj"  "../src/platforms_utils_test.c"
    'Finished building: ../src/platforms_utils_test.c'
    ' '
    'Building target: platform_test_evmc6678l.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6600 --abi=eabi -g --define=SOC_C6678 --define=DEVICE_C6678 --display_error_number --diag_warning=225 --obj_directory="C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj" -z -m"platform_test_evmc6678l.map" -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.14/lib" -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" -i"C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_lib/lib/debug" --reread_libs --warn_sections --xml_link_info="platform_test_evmc6678l_linkInfo.xml" --rom_model -o "platform_test_evmc6678l.out" "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/platforms_utils_test.obj" "../obj/platforms_utils_test.obj" "../platform_utils.cmd"  -l"ti.platform.evm6678l.ae66" -l"C:\ti\pdk_c667x_2_0_1\packages\ti\platform\evmc6678l\platform_lib\lib\release\ti.platform.evm6678l.ae66" -l"C:\ti\pdk_c667x_2_0_1\packages\ti\csl\lib\c6678\c66\ti.csl.ae66" -l"libc.a" 
    <Linking>
    error #10008-D: cannot find file "ti.platform.evm6678l.ae66"
    error #10056: symbol "Osal_platformSpiCsExit" redefined: first defined in
    
       "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/plat
    >> Compilation failure
       forms_utils_test.obj"; redefined in "../obj/platforms_utils_test.obj"
    error #10056: symbol "Osal_platformSpiCsEnter" redefined: first defined in
       "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/plat
       forms_utils_test.obj"; redefined in "../obj/platforms_utils_test.obj"
    error #10056: symbol "input_file_name" redefined: first defined in
       "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/plat
       forms_utils_test.obj"; redefined in "../obj/platforms_utils_test.obj"
    error #10056: symbol "Osal_platformMalloc" redefined: first defined in
       "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/plat
       forms_utils_test.obj"; redefined in "../obj/platforms_utils_test.obj"
    error #10056: symbol "main" redefined: first defined in
       "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/plat
       forms_utils_test.obj"; redefined in "../obj/platforms_utils_test.obj"
    error #10056: symbol "Osal_platformFree" redefined: first defined in
       "C:/ti/pdk_c667x_2_0_1/packages/ti/platform/evmc6678l/platform_test/obj/plat
       forms_utils_test.obj"; redefined in "../obj/platforms_utils_test.obj"
    error #10010: errors encountered during linking; "platform_test_evmc6678l.out"
       not built
    gmake: *** [platform_test_evmc6678l.out] Error 1
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

    Can you please look over the attachment and maybe find the source of the problem or give me some suggestion on what to do next?

    Thanks, Joe

  • This is my Linker settings of platform test project of C6678.