User guide
22 Altera Corporation
EPXA1 Development Kit Getting Started User Guide Getting Started
7. Choose Linker from the Software Build Settings list and specify the
following:
– Object/library modules: type
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTERA_A
RM9GP_HOST%/lib/gcc-lib/arm-elf/2.96-
%ALTERA_ARM9GP_VER%/crtbegin.o,
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTER
A_ARM9GP_HOST%/lib/gcc-lib/arm-elf/2.96-
%ALTERA_ARM9GP_VER%/crtend.o
– Additional library directories: type
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTERA_A
RM9GP_HOST%/lib/gcc-lib/arm-elf/2.96-
%ALTERA_ARM9GP_VER%,
%ALTERA_ARM9GP_ROOT%/%ALTERA_ARM9GP_VER%/%ALTER
A_ARM9GP_HOST%/arm-elf/lib
–Under Link type: select Custom link script and browse to
software\armelf.x
– Command-line options: type -lc –lgcc –lc
8. Click OK.
9. Click on Start Software Build (Processing menu) to build the
software application and create a flash programming file.
1 As an alternative to using the Quartus II software to build the
software application, you can run the provided makefile by
typing make release↵ at a DOS-prompt in the gnu directory.
Software Build Settings for ADS
For the example design you will produce two versions of the software
build settings for ADS: debug settings and release settings. For the debug
settings version you will not apply optimization, but include debug
information to facilitate using the ADS AXD debugger. You will apply
optimization to the release settings version, but debug information is
unnecessary because the release settings version will only be used when
the software code has been debugged and is known to be working. The
release settings version of the software build produces a software image
that is faster than the software image produced with debug settings.
The following steps add the software files to the project:
1. Choose Settings (Assignments menu).