Apologies if this question is more suited for the TI C/C++ Compiler Forum.
I'm trying to prevent unused functions from being linked into my firmware.
I read in the document MSP430 Optimzing C/C++ Compiler V 3.3 (SLAU132E) that you can set the compiler option -gen_func_subsections to achieve this. Unfortunately I'm struggling to find where I set it.
The obvious place is in Project->Properties->C/C++ Build->MSP430 Compiler. There are lots of options you can change here but I can't seem to find the one that sets -gen_func_subsections nor can I find an edit box where I can type it in manually.
Can anyone suggest what I'm doing wrong?
For reference I'm using Code Composer V4.2.3.00004 and the MSP430F2274 CPU.