IAR 4.31A Compilation
## Introduction The goal of this project is to describe the IAR compilation with an AT91-based device. ## Cross compiling using IAR 4.31A A default IAR project (Workspace) .eww file is delivered with this example (in compil directory). The processor selected must be ARM7tm for compiler and assembler. ## Compilation Open the IAR Embedded Workbench IDE. Open the project file from the directory compil/xxx.eww Build the project C onnect to the target board with a JTAG ICE interface The JTAG ICE interface can be selected from the menu "Project -> Options", category "Debugger" and select your ICE interface (for example J-Link) in the setup tab. Load and debug this application using the "Debug" command
# IAR Workspace | # Description
RAM_Debug | RAM application for debug (All code and data are located in RAM)
Flash_Debug | Flash application for debug to be loaded using the IAR utility (All located in FLASH at 0x0 without REMAP)
Binary | Generate binary output (without flash download)
# Compilation Files | # Description
BasicIAR.eww | IAR main project file (Workspace)
BasicIAR.ewp | IAR workbench project file
BasicIAR.ewd | IAR workbench project file
resource/ | Project resource files directory
resource/at91SAM7xxx_FLASH.xcl | Linker file for the FLASH application which defines the memory mapping and sections for the target board to application not use the REMAP feature.
resource/at91SAM7xxxx_RAM.xcl | Linker file for the RAM application which defines the memory mapping and sections for the target board
resource/SAM7_FLASH.mac | Script file for setting the processor before to download and to debug the FLASH application using a JTAG ICE interface
resource/SAM7_RAM.mac | Script file for setting the processor before to download and to debug the RAM application using a JTAG ICE interface
RAM_Debug/ | IAR object and list directory for the RAM application
FLASH_Debug/ | IAR object and list directory for the Flash application
Binary/ | IAR object and list directory for the binary generation