你好:
最近在调试6678的srio,调试ti提供的pdk_c6678_1_1_2_5中exampleprojects中SRIO_Lookbacktestproject例程时出现如下许多错误:
#137 struct "Srio_AppManagedCfg" has no field "rxDescSize" srio_drv.c /SRIO_LoopbackTestProject line 1615 C/C++ Problem
#137 struct "Srio_AppManagedCfg" has no field "srioPktDmaTxPrio" srio_drv.c /SRIO_LoopbackTestProject line 1743 C/C++ Problem
#137 struct "Srio_AppManagedCfg" has no field "srioPktDmaTxPrio" test_main.c /SRIO_LoopbackTestProject line 934 C/C++ Problem
#137 struct "Srio_AppManagedCfg" has no field "txQueueNum" srio_drv.c /SRIO_LoopbackTestProject line 1765 C/C++ Problem
#137 struct "Srio_AppManagedCfg" has no field "txQueueNum" test_main.c /SRIO_LoopbackTestProject line 931 C/C++ Problem
#137 struct "Srio_AppManagedCfg" has no field "txQueueNum" test_main.c /SRIO_LoopbackTestProject line 949 C/C++ Problem
#20 identifier "SRIO_MAX_CACHE_ALIGN" is undefined srio_drv.c /SRIO_LoopbackTestProject line 1099 C/C++ Problem
#20 identifier "SRIO_MAX_CACHE_ALIGN" is undefined test_main.c /SRIO_LoopbackTestProject line 133 C/C++ Problem
#20 identifier "SRIO_MAX_CACHE_ALIGN" is undefined test_multicore.c /SRIO_LoopbackTestProject line 112 C/C++ Problem
#20 identifier "Srio_Opt_DIO_READ_SOCK_COMP_CODE" is undefined srio_drv.c /SRIO_LoopbackTestProject line 3572 C/C++ Problem
#20 identifier "Srio_PktDma_Prio_Low" is undefined test_main.c /SRIO_LoopbackTestProject line 934 C/C++ Problem
#20 identifier "SRIO_TYPE11_HW_ASSIGNED_LETTER_VALUE" is undefined srio_drv.c /SRIO_LoopbackTestProject line 550 C/C++ Problem
#20 identifier "SRIO_TYPE11_HW_ASSIGNED_LETTER_VALUE" is undefined srio_drv.c /SRIO_LoopbackTestProject line 2257 C/C++ Problem
#20 identifier "SRIO_TYPE11_HW_ASSIGNED_LETTER_VALUE" is undefined test_nonblocking.c /SRIO_LoopbackTestProject line 574 C/C++ Problem
#20 identifier "SRIO_TYPE11_RX_ACCEPT_ALL_MBOX_VALUE" is undefined srio_drv.c /SRIO_LoopbackTestProject line 552 C/C++ Problem
#20 identifier "SRIO_TYPE11_RX_ACCEPT_ALL_MBOX_VALUE" is undefined srio_drv.c /SRIO_LoopbackTestProject line 2249 C/C++ Problem
出现许多no field和undefined,这是例程有问题吗?如果是的话,该如何解决?
我的环境:
ccs5.1 compiler v7.4.2 tmdxevm6678l
pdk_c6678_1_1_2_5中exampleprojects里面其他关于srio的例程也有类似错误。