User manual

Ride7 for ARM Creating a project using the GNU toolchain
- 13 -
2.5.1 LD Linker Options
Ride7 provides some libraries. You can choose to
include them or not by (un)selecting the corresponding
options. When you are using the Thumb instruction
set, or Interworked mode, then the libraries used are
the corresponding Thumb libraries. Thumb libraries
have the same name as the non-thumb libraries, with
“_thumb” appended.
2.5.1.1 General
A) Generate MAP file
This makes the Linker produce a map file (.MAP).
B) Warn once for undefined symbols
If this option is checked, only one warning will be
displayed for each undefined symbol, rather than once
per module which refers to it.
C) Remove unused sections
This tells the linker to not link the sections that are not
used. Activate this together with the GCC Compiler
option “Per function sections” in order to have remove
any unused function from the application.
2.5.1.2 Startup
A) Use Default Startup
If you want to keep the default startup file set “Yes”. If you are familiar with the GNU toolchain,
then you will probably want to use your own startup file. In that case set “No” and fill the
“Startup File” box. (or not if your startup is part of the source files)
B) Startup file
If “No” has been set for the “Use Default Startup” option, indicate the path of the startup file that
you want to use. You may also want to see the default startup and linker script files provided by
Ride7, which you can copy and modify. For standard installations of Ride7, you will find these
files in the directory – C:\Program Files\Raisonance\Ride\lib.
2.5.1.3 Scripts
A) Use Default Script File
If you want to keep the default script file set “Yes”. If you are familiar with the GNU toolchain,
then you will probably want to use your own script file. In that case set “No” and fill the “Script
File” box. (You have to use a linker script)
B) Script File
If “No” has been set for the “Use Default Startup” option, indicate the path of the startup file that
you want to use. You may also want to see the default startup and linker script files provided by
Ride7, which you can copy and modify. For standard installations of Ride7, you will find these
files in the directory – C:\Program Files\Raisonance\Ride\lib\ARM.
Note that in the case of the linker script, the above directory only contains partial scripts. The full
script (that includes the partial scripts) is generated just before the link. If you want to see the
script used for a particular device, just link any project using this device and look in the “–