The Elektor Forum will close. See also this link. From Friday March 1st it is no longer possible to log in to the forum. However, the content of the forum will remain visible until the end of March. As of April 1st the forum will definitely go off the air.

C Programming & ARM Interfacing Books - YAGARTO Toolchain Ch

Post here on these publications

Postby warwick » Wed Oct 20, 2010 12:00 am

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
warwick
 
Posts: 11
Joined: Thu Jan 02, 2014 10:39 am

Return to Books | CDs | DVDs| Videos | Courses | Seminars | Webinars

Who is online

Users browsing this forum: No registered users and 1 guest