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.

Modifying DriverLib

I installed the Tivaware libraries and found that the driverlib has many headers but not the Buttons.h for obvious reasons.

Now this driverlib.lib is used in the Launchpad projects and does not support the Buttons.h functions.

is there any way i can include the same in my library.

I copied the files from the Examples directory to the driver directory, and built the project.

the project is successfully built with some warnings but the .lib file is not updated. How do we build a .lib file in CCS.

Linking to this lib file shows "unresolved symbols" error when built in CCS, that means the symbols are not updated into the driverlib.lib

PS: as recommended i am using a link of this library in all my projects, thus updating the library will be directly reflected into all the projects.

  • Hello Arun

    In CCS import the driverlib as a project and then compile it. steps as below

    –“File” ==> “Import” ==> “Code Composer Studio” ==> “CCS Projects”
    –In “Select search-directory”, Browse to “C:\ti\TivaWare_C_Series-2.1.0.12573\driverlib”
    –The “Discovered projects:” window will show driverlib. Click “Finish”
    –Select the radio button “Link to files” and drop down menu option of “PROJECT_LOC”
    –Right Click “driverlib” ==> “Build Project”

    Regards

    Amit

  • Amit Ashara said:
    –Select the radio button “Link to files” and drop down menu option of “PROJECT_LOC”

    I am unable to access any such menu.. I can add link to files that i want to be included, is it the same?

  • Hello Arun,

    Can you please send a snapshot of the Pop Up Window? Also which version of CCS are you using as I have done this on both CCSv5 and CCSv6.

    Regards

    Amit

  • No worries, it was the same..It was not exactly the same words.

    Right Click on project -> add files -> add as links

    Once this was done, i had to make minor changes to the Buttons.C and the Buttons.h file to get it working.

    after this i had to remove the original driver.lib from the lab2 project and add the new one.

    I have created a new directory for myself in the TIVAWARE_INSTALL path where i will be keeping my customised libraries.

    anyways thanks for the support.