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/SW-EK-TM4C1294XL: how to port the example project to a new custom project

Part Number: SW-EK-TM4C1294XL

Tool/software: Code Composer Studio

Hi,

I am trying to build a  CCS project for my custom board from an example project of TM4C eval board. Can anyone tell me how to do it?

the example project of TM4C eval board has some code saved in TivaWare installation directory which seems can not be modified. So other than copy whole project files to a new location, is there better way I can create a CCS project with import those example and saved in a new location?

Thanks,

Jeff

  • Jeff,

    I think you are referring to how some of the examples have "linked" files.  i.e. files that the project uses but they are not in the project directory but instead have a link to the file in the software installation directory.

    Like uartstdio.c and pinout.c below.

    We can see the details of uartstdio.c below:

    The file should be writable.  I know I can edit and save it.  However by doing so you would be impacting any other project that also references the same file.

    If you want to have the file physically in your project you can delete the existing one from your project.  This will bring up a dialog that states that it is just removing the link and that the physical file is still in its original location.   You can then go to where the file actually is located and drag it into your project.  This will bring up a dialog that asks if you want to copy or link the file.  Select copy and then the file will physically be in your project.

    Here you can see that uartstdio.c is now physically in my project as it doesn't have the little arrow on top of the file icon like pinout.c does.

    Regards,

    John

  • Hi John,

    I think you answered my question! this is what I needed. Thanks!
    Btw, how about library files? just in case if I want to modify some library files like Graphic library or Sensor library. I know it is vary low chance to modify them.
    Jeff
  • Jeff,

    The libraries are referenced in the build options here:

    So if you were to rebuild the library you could change the option here to point to your library.

    Regards,

    John