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: printf support for CCS in version 7.2

Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Tried the stuff in Printf support for MSP430 CCSTUDIO compiler but got a redifinition error for fputc

#ifdef UART_PRINTF
int fputc (int _c, register FILE *_fp);
int fputs (const char *_ptr, register FILE *_fp);
#endif

This gives error

error #10056: symbol "fputc" redefined: first defined in "./main.obj"; redefined in "C:\ti\ccsv7\tools\compiler\ti-cgt-msp430_16.9.3.LTS\lib\rts430_eabi.lib<fputc.obj>"

the same error occurs with "fputs"

Is there a fix for this I really need printf to work. It is set to minimal in the compiler options.