11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The DLIB runtime environmentItems that can be customizedDescribed inFile input and output File input and output, page 63Low-level environment functions Environment interaction, page 66Low-level signal functions Signal and raise, page 67Low-level time functions Time, page 67Size of heaps, stacks, and segments Placing code and data, page 31Table 12: Customizable items (Continued)For a description about how to override library modules, see Overriding librarymodules, page 53.Choosing formatters for printf and scanfTo override the default formatter for all the printf- and scanf-related functions,except for wprintf and wscanf variants, you simply set the appropriate libraryoptions. This section describes the different options available.Note: If you rebuild the library, it is possible to optimize these functions even further,see Configuration symbols for printf and scanf, page 62.CHOOSING PRINTF FORMATTERThe printf function uses a formatter called _Printf. The default version is quitelarge, and provides facilities not required in many embedded applications. To reduce thememory consumption, three smaller, alternative versions are also provided in thestandard C/E<strong>C++</strong> library.Part 1. Using the compiler51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!