ARM ARM DUI 0224I manual Rebuilding the platform library

Models: ARM DUI 0224I

1 402
Download 402 pages 14.06 Kb
Page 58
Image 58

Getting Started

Supported devices for character output are:

:UART-0(default destination if debugger is not capturing semihosting calls)

:UART-1

:UART-2

:UART-3

:CHARLCD.

The STDIO calls are redirected within retarget.c. Redirection depends on the setting of switch S6-3, see Boot Monitor configuration on page 2-7.

2.6.5Rebuilding the platform library

All firmware components are built using GNUmake, which is available for UNIX, Linux and for most Windows versions. (To use GNUmake under windows Cygwin must be installed, for more information contact Redhat.)

To rebuild the platform library component, set your default directory to

install_directory/Firmware/platform and type make from a DOS command line.

The platform library has a number of build options that can be specified with the make command:

BIG_ENDIAN=1/0, defining image endianness (Default 0, little endian)

THUMB=1/0, defining image state (Default 0, ARM)

DEBUG=1/0, defining optimization level (Default 0, optimized)

VFP=1/0, defines VFP support (Default 0 no VFP support).

The build options define the directory that contains the compile and link output. The make file creates a directory called Builds if it is not already present. The Builds directory contains subdirectories for the specified make options (for example, Debug_ARM_Little_Endian). To delete the objects and images for all targets and delete the Builds directory, type make clean all.

2-22

Copyright © 2003-2010 ARM Limited. All rights reserved.

ARM DUI 0224I

Page 58
Image 58
ARM ARM DUI 0224I manual Rebuilding the platform library