User manual

Ride7 for ARM Creating a project using the GNU toolchain
- 9 -
2.1 Notes for users of other GCC toolchains
There are potential compatibility issues between the different GCC toolchains. Those that we
encountered were related to the GCC_EXEC_PREFIX environment variable. If you have this
kind of problems, look at the gcc documentation to see the use of this variable. Depending on the
other toolchains that are installed, you could have to modify it by hand.
2.2 Using the example project
Ride7 for ARM provides several example projects that are ready to run. One of them is very
simple and you should look at it first. To open this project, use "Project""Open Project" in
Ride7 and select the project “testR7.rprj”. For standard installations of Ride7, this file is found in
C:\Program Files\Raisonance\Ride\Examples\ARM\Test. The example itself is described in the
comments in the source file.
You can also have a look at the other examples, which are all located in the same directory:
C:\Program Files\Raisonance\Ride\Examples\ARM.
2.3 Creating a new project
In Ride7, go to the menu Project-
>New Project
Select “New application to
be built”, then your target.
Choose the application name and
the path to the main application
folder. You can click on
“Finish” to generate your
application.
Note that the derivative called
“STR7-TEST” allows you to use a
virtual device for which you can
define the space sizes and
addresses in the “Advanced ARM
Options” options set. If you use
this, you have to use a custom
linker script. See the section
describing the linker options for
more information.