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.

TMS320F28377S: CCS 20 and gitIgnore

Part Number: TMS320F28377S

CCS 20 is adding redundent entries to the .gitignore file.

CCS 20.4.0.13__1.10.0

Ex below copied from my .gitignore

 

/Debug/
/Release/
/DEBUG_INT_RAM/
/DEBUG_FLASH/
/DEBUG_EXT_RAM_LP/
/DEBUG_EXT_RAM/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_RAM/
/DEBUG_EXT_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/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_GOLDEN/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_FLASH/
/DEBUG_EXT_RAM/
/DEBUG_GOLDEN/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/
/DEBUG_UPDATE/

  • Hi Paul,

    Thank you for your question. Could you share the .gitignore file that you had created before CCS added these redundant folders?

    Thanks,

    Ira

  • Hello Ira,

    gitignore before CCS adds redundent folders:

    /Debug/
    /Release/
    /DEBUG_INT_RAM/
    /DEBUG_FLASH/
    /DEBUG_EXT_RAM_LP/
    /DEBUG_EXT_RAM/

  • Hi Paul,

    Do you have multiple CCS projects in your repo? This can sometimes cause CCS to modify the .gitignore file.

    Also is the repo root (where you're creating your .gitgnore file) the same as your CCS Workspace?

    Also make sure that you aren't configuring any files to be ignored via the CCS settings. Having this as well as a .gitignore file may also give this error.

    i.e. make sure the below field is left empty.

    Alternatively, after you have created a new .gitignore file and commited it, you can run the following command to make sure the .gitgnore file does not get modified by ccs

    git commit -m "Clean new .gitignore file added"
    git update-index --assume-unchanged .gitignore

    This will tell git to ignore future changes from CCS

    Thanks and Regards,

    Ira