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
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:
Thank you for the assistance. Please let me know if I can clarify my question further.
hi Julien,
The steps in the F2838x_FRM_EX_UG.pdf are actually for the bitfield examples for CPU1 and 2 and not really driverlib examples.
Julien Girard said:
- 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.
No its not . The driverlib.lib is added to make sure all the APIs in the .c files are added in. The includes are to use the .h files and other dependent paths.
I suggest you pick up an empty examples like i believe you are doing is the fastest way to move forward .
C2000Ware\device_support\f2838x\docs\Example_Projects_Quickstart_Guide.pdf
Just update the main code with needed content.
Regards.