Due to the YAGARTO GNU ARM Toolchain software (www.yagarto.de) changing since the publishing of the books:
C Programming for Embedded Microcontrollers
and
ARM Microcontroller Interfacing
The makefiles in the example programs will need to change if the latest version of YAGARTO is used (yagarto-bu-2.20.1_gcc-4.5.1-c-c++_nl-1.18.0_gdb-7.1_eabi_20100813)
Alternatively an older version of YAGARTO can be downloaded - the link is on the YAGARTO page e.g. (yagarto-bu-2.20_gcc-4.4.2-c-c++_nl-1.18.0_gdb-7.0.1_20091223).
The following changes must be made if using the latest YAGARTO:
In the makefile, change:
# Paths to standard and maths library files - assumes default YAGARTO installation
LIBGCC=C:/"Program Files"/yagarto/lib/gcc/arm-elf/4.4.2/libgcc.a
LIBC=C:/"Program Files"/yagarto/arm-elf/lib/libc.a
LIBM=C:/"Program Files"/yagarto/arm-elf/lib/libm.a
# Optimisation settings
# optimisation for size
#OPTIM=-Os
# no optimisation - for debug mode
OPTIM=-O0
AS=arm-elf-gcc
CC=arm-elf-gcc
LD=arm-elf-gcc
OBJCOPY=arm-elf-objcopy
TO:
# Paths to standard and maths library files - assumes default YAGARTO installation
LIBGCC=C:/"Program Files"/yagarto/lib/gcc/arm-none-eabi/4.5.1/libgcc.a
LIBC=C:/"Program Files"/yagarto/arm-none-eabi/lib/libc.a
LIBM=C:/"Program Files"/yagarto/arm-none-eabi/lib/libm.a
# Optimisation settings
# optimisation for size
#OPTIM=-Os
# no optimisation - for debug mode
OPTIM=-O0
AS=arm-none-eabi-gcc
CC=arm-none-eabi-gcc
LD=arm-none-eabi-gcc
OBJCOPY=arm-none-eabi-objcopy
OBJDUMP=arm-none-eabi-objdump
Kind regards,
Warwick Smith
