
1
AT91 Library
Background
The AT91 library is a set of C and assembly source and project files aimed at helping
AT91 customers get started quickly with the AT91 series microcontrollers.
The AT91 library contains:
Header files for defining the AT91M40400 in C language
Assembly Include files defining the AT91M40400 in ARM
Thumb
assembly
language
Examples of how to access the AT91M40400 peripherals
Project Template for the AT91EB01 and AT91DB01
Project examples to start up
Application Notes source files
Performance benchmarks
All delivered sources are free of charge and can be copied or modified without any
authorization.
The software is delivered “as is” without warranty or condition of any kind, either
express, implied or statutory. This includes without limitation any warranty or condition
with respect to merchantability or fitness for any particular purpose, or against the
infringements of intellectual property rights of others.
Getting Started with the AT91 Library
In the following, it is assumed that the ARM Software Development Toolkit V2.11a or
later has been installed, that there are no default options for the APM (ARM Project
Manager) tools, and that the directory “Bin\Config” of the ARM setup is empty (except
“readme.txt”).
Building the Library
Copy the AT91 library (complete folder and sub-folder) onto your hard disk in a direc-
tory referred to in the following as <MyFolderAT91>.
Copy/move the files from the directory “<MyFolderAT91>\Template” into the directory
“Template” of the ARM SDT setup.
Start the ARM Project Manager (APM).
Open the project “AT91_L16” in the directory “<MyFolderAT91>\Library” and build the
16-bit THUMB library.
Open the project “AT91_L32” in the directory “<MyFolderAT91>\Library” and build the
32-bit ARM library.
Creating a Project
Create a folder (labelled in the following as <MyProject>) in the directory
“<MyFolderAT91>\Work”.
Open the ARM Project Manager.
AT91
ARM Thumb
Microcontrollers
Application Note
Rev. 1203A–11/98