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.

LAUNCHXL-F28379D: what is driverlib.lib in example project imported from Resource explorer to the CCS ?

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

I want to know what is driverlib.lib file that seems to appear in the imported example projects code available in the Resource Explorer ?

It is a binary file that cannot be opened.

I tried excluding it from the project and tried building the project but ended up facing some errors !! 

Please assist me with this.

I need to know what all content is present in driverlib.lib file (what all definitions or anything) so that we can decide whether to have it and use it in our project that we are gonna develop for a motor control application ?

  • Hi Team,

    May I have any update on this ?

    We intended to not to use (include) it in our project but doing so results in some errors after building. 

    Please assist us with this.

  • Hello Sourabh,

    For context, the driverlib.lib file is a library file containing pre-compiled code for interacting with the hardware peripherals of the MCU. It simplifies the process of programming our devices by providing a higher-level abstraction of the hardware registers. The driverlib functions are the collection of functions that developers can use to configure and control device peripherals without having to directly manipulate the low-level memory-mapped registers.

    The source code files that you can open and browse through for this can be found in our C2000Ware SDK at the directory: {C2000Ware}\driverlib\f2837xd\driverlib.

    Best Regards,

    Allison

  • Hi Allison,

    Thanks for your response.

    So, If had to exclude it from exclude it from building in my project then I have to include the entire driverlib folder to build in the example project right (Just like below) ?

  • Hello Saurabh,

    Yes, this is correct - you need to have these files either manually pulled in or have driverlib.lib. Note that the driverlib.lib is optimized. 

    Best Regards,

    Allison