• Creating and Linking to Library Projects

    The LPCXpresso IDE provides project wizards for creating static library projects which can then be used by other projects within your workspace. In addition it also provides a simple mechanism for creating the links t...
    LPCware Support
    last modified by LPCware Support
  • Debug build too big to fit into flash

    Sometimes as you are developing your application, you may reach the point where the Debug build grows to become too big to fit into the flash on your MCU, whereas the Release build will still fit. In such cases you wi...
    LPCware Support
    last modified by LPCware Support
  • Heap allocation/checking in Redlib

    By default, the heap used by Redlib's malloc() family of routines grows upwards from the end of the user data in RAM up towards the stack - a "one region memory model".   When a new block of memory is requested,...
    LPCware Support
    last modified by LPCware Support
  • How include paths work

    When you add a directory under the "Directories" section of the compiler, you are setting the compilers "-I" option.   "-I" adds a directory to the compiler search path for include files. When the compiler tries...
    LPCware Support
    last modified by LPCware Support
  • Switching the selected C library

    Overview  The LPCXpresso IDE is provided with two different C libraries - Redlib and Newlib, each of which is supplied in a number of library variants. LPCXpresso v7 also introduced a further library, Newlib-Nan...
    LPCware Support
    last modified by LPCware Support
  • Target MCU selection for Static Library projects

    When creating a static library project, it is necessary to select a specific target MCU (for example LPC1768 or LPC1114/301).   However this selection primarily controls the compiler/assembler options (for examp...
    LPCware Support
    last modified by LPCware Support
  • The Build Console

    The Build Console (sometimes referred to as Build Log) is used by the LPCXpresso build tools (compiler,linker, etc) to display output generated when building your project. In fact the LPCXpresso IDE has two build cons...
    LPCware Support
    last modified by LPCware Support
  • Use of Cortex-M0/M0+ multiply instructions on LPC43xx and LPC5410x

    Multiplier Implementation  The Cortex-M0 and Cortex-M0+ CPU cores can be implemented with one of two hardware multiply options:   Fast : This allows the MULS instruction to execute in a single cycle Sm...
    LPCware Support
    last modified by LPCware Support
  • Using printf()

    Printf and semihosting  By default, the output from printf() (and puts()) will be displayed in the debugger console via the semihosting mechanism. This provides a very easy way of getting basic status informatio...
    LPCware Support
    last modified by LPCware Support
  • What are none, nohost and semihost libraries?

    LPCXpresso is supplied with several 'stubs' that form the very bottom of the C library and include certain low-level functions used by other functions in the library.   Each C library (Redlib and Newlib) is prov...
    LPCware Support
    last modified by LPCware Support
  • What are Redlib and Newlib?

    The LPCXpresso IDE is shipped with three C libraries:   Newlib - GNU C library NewlibNano - a version of the GNU C library optimized for embedded. Redlib - Our own (non-GNU) ISO C90 standard C library, with so...
    LPCware Support
    last modified by LPCware Support