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.

CCSv4 compiles and links unused functions - how can I avoid this?

Other Parts Discussed in Thread: TMS320F28234

Hi all,

I am using CCS V4.1.2.00027 to compile Simulink-generated C-Code for a TMS320F28234. Now I added several C-files to the project I only use a few functions of. Code Composer compiles and links all functions, even the unused ones. I can see all functions defined in the C-files in the map file, even those which are never called anywhere in my project. As I want to reduce the code size, I tried the --program_level_compile option. This did not help. The list of removed dead functions generated by the linker is empty.

Is there any possibility to remove the unused functions? Thank you in advance for your advice.

Regards,

Michael