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.

How to suppress startup_ccs.c file in project wizard?

Other Parts Discussed in Thread: EK-TM4C1294XL, TM4C1294NCPDT

When I create a new CCS project for the EK-TM4C1294XL Evaluation Kit, CCS adds a startup file to the project. How can I tell CCS not to add this file?

CCS 6.1.1.00022
EK-TM4C1294XL Evaluation Kit

Here are the steps I use to create a new CCS project for this evaluation kit.

Project > New CCS Project...
Target > Tiva C Series, Tiva TM4C1294NCPDT
Connection > <blank>
Project Name: bootloaderusb
Use default location > Select

Advanced settings > Open
Linker command file > <none>

Project template and examples > Open
Empty Projects > Empty Project > Select
Finish

The project is created with the following file.

tm4c1294ncpdt_startup_ccs.c

This file will conflict with the boot loader startup file. Therefore, I always have to delete this file (and instruct the customer to do the same). Is there a way I can tell the project wizard not to create this file?

Thanks,
~Ramsey

  • Ramsey,

    You can't, not without hacking into its device XML file.

    If you would want to do that, close CCS, open the file <CCS_INSTALL_DIR>/ccsv6/ccs_base/common/targetdb/devices/tm4c1294ncpdt.xml and comment the following line:
    <property Type="stringfield" Value="tm4c1294ncpdt_startup_ccs.c" id="FilesToCopy"/>

    If you are using GCC, then comment the following line:
    <property Type="stringfield" Value="tm4c1294ncpdt_startup_ccs_gcc.c" id="GNUFilesToCopy"/>

    Save the file and reopen CCS.

    Keep in mind that newer versions of CCS or even certain device support updates will overwrite these changes.

    Hope this helps,
    Rafael