Atmel AVR2052
15
8200M-AVR-11/11
5.2.2 Supported toolchains
The following development environment options are available for each of the
supported platforms.
Table 5-2.
Platform-specific compilation options.
For platform
AVR Studio 5
+ WinAVR
Eclipse
+ YAGARTO
IAR Embedded
Workbench
ZigBit
X
X
megaRF
X
X
UC3
X
XMEGA
X
X
SAM7X
X
X
SAM3S
X
X
A set of ready to use makefiles for various platform configurations is available for the
reference applications. Additionally, the root directory of every application contains a
special makefile, which allows switching among different configurations by specifying
the configuration name. Custom applications should follow the same structure.
In order to compile an application in each of the available development environments,
the following steps should be taken.
5.2.2.1 Atmel AVR Studio 4 + WinAVR
•
Command line:
Compile the application by running the
make
utility.
•
IDE:
Open the
.aps
file from the appropriate directory with Atmel AVR Studio 4,
and execute
Build/Rebuild All
from the main menu.
Once the build process is completed,
.hex
,
.srec
,
.bin
,
and
.elf
application
images will be generated.
5.2.2.2 Atmel AVR Studio 5 + WinAVR
•
Command line:
Compile the application by running the
make
utility.
•
IDE:
Open an appropriate project file from the
as5_projects
directory with Atmel
AVR Studio 5, and execute
Build/Rebuild All
from the main menu.
Once the build process is completed,
.hex
,
.srec
,
.bin
,
and
.elf
application
images will be generated.
5.2.2.3 E YAGARTO
•
Command line:
Compile the application by running the
make
utility.
•
IDE:
1. In Eclipse framework, create a new C project of makefile type with an arbitrary
name but with a location in the application directory (for example, the
<SDK-
Root>\Applications\WSNDemo
directory).
2. Configure project properties as follows:
a. Select C/C++ Build, Discovery Options.
b. In the “Compiler invocation command” section, browse to the compiler
(
C:\Program Files\yagarto\bin\arm-elf-gcc.exe
).
c. Select C/C++ Build, Settings.
d. Check GNU Elf Parser.
e. Select GNU Elf Parser.