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.

Using C standard library functions with the msp430.



Is it advisable to use the following header files with an MSP430/CCS 5.5.2 project:

#include <stdint.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>

That is when you create an executable for the msp430 and make use of these headers you obviously linking

some c-library. Which c library?

James

  • The compiler ships with only one library, the standard C library.  There are multiple copies of this library compiled for various memory model configurations.

    It is essentially harmless to include whatever header files you want, but if you actually call functions defined in those header files, each called function will take up some amount of target memory.