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.

MSP430FR6047: How to get rid of unused msp430 driverlib functions by the linker with GCC

Part Number: MSP430FR6047

Hi,

I wrote some tests with the ti driverlib. Im using the GCC 9.3. What I see is, that if I use for example some function out of cs.h, all functions will be linked into my final binary, even I do not use them. Does anybody know how say the linker to remove the unused stuff?

Kind Regards

Christian

**Attention** This is a public forum