ARM ARM DUI 0224I Computer Hardware User Manual


 
Getting Started
2-24 Copyright © 2003-2007 ARM Limited. All rights reserved. ARM DUI 0224F
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.7 Rebuilding 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)
DISKONCHIP=1/0
, defines Disk-on-Chip support (Default 1, Disk-on-Chip 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
.