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.

CCS/TM4C1294NCPDT: How to rebuild the driver library if some changes made

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Dear All,

I am working on TI micro-controller i.e. TM4C1294NCPDT. I am trying to modify the driver library provided in tivaware by adding some functions in eeprom.c file. I added some functions to eeprom.c file but 

seems like that driver library is not updated with these changes and some build process is required to update the changes made.

Please let me know how can I  proceed. Prompt reply will be appreciated.

Regards

Parvez Alam

  • I strongly recommend that you not modify the TivaWare library. That way, when TI releases updated versions of the library, you can benefit from the corrections made without loosing your modifications. If you are indeed just adding functions, it would make more sense to have them in a separate C file. If you add many functions, you can create your own library. You can control which libraries are searched first in the order of the libraries specified to the linker. This way you can supersede the TivaWare library functions with your own.
  • I second Bob Crosby: never change a file in TivaWare library - create your own libraries for additional functionality.
    To compile a static library (the type of library that Tivaware is), you need to create a new project in CCS, and on the "next" or "advanced" options (don't remember exactly), look for a radio button that selects Static Library. From there, when you compile that project, it will generate the .lib file you can use on your other "real" projects.
    Bruno
  • Thank you so much for prompt reply.
  • I also looking for same but not aware of the steps to do the same thank you for your reply it is what i was looking for.