Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I was hoping to get clarification regarding proper way(s) of including the relevant driverlib to new CCS projects to be run on C2000 MCUs (in my case, an F28388D MCU).
In C2000ware, section 2.2 of the Firmware Development Package User Guide (C2000Ware_2_00_00_03\device_support\f2838x\docs\F2838x_FRM_EX_UG.pdf) specifies adding some driverlib and include folders to the compiler and linker include options. We have gotten this to work during early firmware development efforts.
That being said, when looking at example projects included in C2000ware, it seems as if the the driverlib inclusion was done differently. The file "driverlib.lib" was added to the project, which was not specified in the development package user guide. The include options are also not the same as specified in the user guide. The examples would still compile and run fine on my EVM.
With that in mind, I am a bit confused over the following items:
- Is adding the relevant "driverlib.lib" file to the project equivalent to including the driverlib folders to compiler/linker in project properties (as specified in the user guide)? If so, that would seem to be simpler, specially when the time comes to update C2000ware.
- If not, what is the purpose of "driverlib.lib" in the example projects? I can't seem to find much further information on this particular file.
Thank you for the assistance. Please let me know if I can clarify my question further.