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.

TMS320C5515: Using the CSL for C5515 without modifying it?

Part Number: TMS320C5515

The instructions that come with the Chip Support Library say to comment out a couple of lines to use it for the C5515 (thus selecting the appropriate register names for DMA, GPIO etc.) But this means that (a) each project has to have a separate copy of the CSL if it uses a different chip, and (b) I have to remember to make the same modifications each time I update the CSL.

Is there not some macro I can set, or some external way to configure the CSL for each chip I want to use without modifying the header files? I would have expected that just having eg. "-DC5515" or "-UC5517"  in your compiler/preprocessor flags would be the way users would select or deselect whichever device they're using. Given that CCS provides these anyway, and they're needed for other things in the toolchain, why not just use those in the CSL chip selection anyway? I'd much rather avoid the problems outlined above.