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/LAUNCHXL-F28379D: Issue with C2000Ware 3.03 driverlib for CLA

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

I just upgraded my C2000Ware to the latest 3.03 version today and upon doing so it broke my existing compiled code, giving me an error saying that CLA_0_SOFTINTEN and CLA_0_SOFTINTFRC are undefined. I then tried importing a new empty driverlib project in using the newer C2000Ware...it built initially when the project was empty,  but once I copied my code over from the previous project it once again broke in the same way. Now when I look down in the hw_cla.h file for the drivelib I see that it does define those parameters, but only if a CLA2 type is declared, which this device doesn't have. I am at a loss for how this is supposed to compile properly with the driverlib like this.

  • Marcos,

    I am asking the team who owns driverlib to look into this.  You should hear something back tomorrow. 

    Regards

    Lori

  • Hi Marcos,

    Thank you for reporting this. It is a bug, the ifdef macro should be __TMS320C28XX_CLA__. Could you please update the hw_cla.h and replace macro __TMS320C28XX_CLA2__ with __TMS320C28XX_CLA__. I will raise a ticket to get this fixed in the next release.

    This change was added to make sure that C28x macros are available only in .c files and CLA macros are available in .cla files.

    Reagrds,

    Veena

  • Yes, thanks for this...just to make this well understood if anyone is looking at this thread so they know how to fix the issue, I used the Resource Explorer to import the f28937xd_driverlib project and then went into the f2837xd/driverlib/inc folder and modified the hw_cla.h on lines 78 and 84 to use the above mentioned __TMS320C28XX_CLA__ instead of the __TMS320C28XX_CLA2__ and then just rebuilt the imported driverlib project. At this point I rebuilt my working project and everything was good.

    Thanks for your help!