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.
Tool/software: Code Composer Studio
Dear Sir or Madam,
I am digging into the enet_lwip example project for F28388D.
There is an important function Ethernet_initInterface called in enet_lwip.c file.
When I put my mouse on the text "Ethernet_initInterface", then press F3, then I can find the function declaration as follows,
But I can not find the original Ethernet_initInterface function.
Actually the Ethernet_initInterface function is in the ethernet.c file, which is in the \C2000Ware_3_03_00_00\driverlib\f2838x\driverlib_cm directory.
But the ethernet.c file is not added in the project.
How does the CCS know this ethernet.c file and complete the compilation successfully??
Thanks!
zhou ping
Hi Zhou,
The driverilib for every peripheral (ethernet etc) is first compiled and the collection of object files are added to driverlib.lib file. This file is included in the project which then used to link the symbols. So the ethernet.c and ethernet.h are not compiled again.
The project which is used to build driverlib is at location C2000Ware_3_03_00_00\driverlib\f2838x\driverlib_cm\ccs in C2000Ware and driverlib file in Debug folder.
Thanks,
Yashwant
Zhou,
If you open the properties of the project. In the ARM linker options you can see the driverlib_cm.lib path included.
-l"C:/Users/A0489286/Documents/Temp/C2000Ware_3_03_00_00/driverlib/f2838x/driverlib_cm/ccs/Debug/driverlib_cm.lib"
Thanks,
Yashwant