Hi,
I have question about MCSDK and SALLD for C6670.
Our system are using PCIe and Security Accelerator(SA) which are integrated in C6670.
We are developing PCIe and SA software based on MCSDK and SALLD sample program.
When we compiled the software, the following error message occured:
//////////////////////////////////////////////////////////////////
"C:/ti/bios_6_33_06_50/packages/ti/sysbios/hal/Hwi.h", line 727: warning #48-D: incompatible redefinition of macro "Hwi_Instance" (declared at line 912 of "C:/ti/bios_6_33_06_50/packages/ti/sysbios/family/c64p/Hwi.h")
"C:/ti/bios_6_33_06_50/packages/ti/sysbios/hal/Hwi.h", line 728: warning #48-D: incompatible redefinition of macro "Hwi_Handle" (declared at line 913 of "C:/ti/bios_6_33_06_50/packages/ti/sysbios/family/c64p/Hwi.h")
"C:/ti/bios_6_33_06_50/packages/ti/sysbios/hal/Hwi.h", line 729: warning #48-D: incompatible redefinition of macro "Hwi_Module" (declared at line 914 of "C:/ti/bios_6_33_06_50/packages/ti/sysbios/family/c64p/Hwi.h")
"C:/ti/bios_6_33_06_50/packages/ti/sysbios/hal/Hwi.h", line 730: warning #48-D: incompatible redefinition of macro "Hwi_Object" (declared at line 915 of "C:/ti/bios_6_33_06_50/packages/ti/sysbios/family/c64p/Hwi.h")
//////////////////////////////////////////////////////////////////
In PCIe and SA sample program, it include "Hwi.h".
But include path for "Hwi.h" is different between PCIe and SA sample program.
Each include path is as following:
//////////////////////////////////////////////////////////////////
*SA sample program(unitest.h)
#include <ti/sysbios/hal/Hwi.h>
*PCIe sample program(pcie_sample.h)
#include <ti/sysbios/family/c64p/Hwi.h>
//////////////////////////////////////////////////////////////////
*Question
1.Should it unify into one of Hwi.h?
2.What is the difference between <family/c64p/Hwi.h> and <hal/Hwi.h> ?
best regards,
g.f.