Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Installing ARMlib Manually

Sections

  1. Overview
  2. Downloading
  3. Installing
  4. Testing

This guide applies only to manually "installing" the ARMlib zip file. If you are using a windows machine, you may use the ARMlib win32 installer program. These steps are done automatically by the installer.


1. Overview

Procyon ARMlib is an open-source collection of C-language function libraries for ARM processors. The goal of ARMlib is to provide the programmer with a code base which performs the most often needed tasks in embedded system programming. Hopefully, this will allow the programmer to focus on high-level operation of their code rather than get bogged down in the details of low-level code.

In short, ARMlib is a bunch of functions that do things commonly needed in embedded systems. Despite the learning curve of getting started, for most projects, using ARMlib will shorten the time spent programming and/or improve the quality or functionality of the final product.

For a partial list of currently available function libraries within ARMlib see the ARMlib Main Page.

2. Downloading

ARMlib is currently available only as a complete zip file. You can get it from the ARMlib Main Page.

Future ARMlib releases will also eventually be available as a win32 self-installer.

3. Installing

This installation for ARMlib assumes you have already installed a GCC C/C++ compiler for ARM and successfully tested it.

You can install ARMlib anywhere you like, however, it's suggested that you install it in a directory alongside your own ARM code projects. Create or choose a top-level directory to hold both ARMlib and the project folders which you will create to hold the code for each individual project you work on. The directory you choose should not contain spaces in its name or path. Some examples are:

c:\Code\arm                          (GOOD)
c:\My Code                           (NOT RECOMMENDED - HAS SPACES IN PATH)

From the download step you should have an armlib.zip file. Unzip this file into the code directory you chose above. Be sure to preserve the internal directory structure of the zip file when you unzip it. Afterward, you can delete armlib.zip but you may want to keep it for later re-installs or as a backup.

You should now have an armlib directory where you installed ARMlib. If you have some time, get familiar with what's inside some of the directories. Your directories should look something like this:

c:\Code\arm\armlib                   <-- ARMlib general header and code files
c:\Code\arm\armlib\arch              <-- ARMlib processor architecture support
c:\Code\arm\armlib\arch\at91         <-- ARMlib AT91 processor support
c:\Code\arm\armlib\arch\lpc2000      <-- ARMlib LPC2000 processor support
c:\Code\arm\armlib\arch\aduc7000     <-- ARMlib ADuC7000 processor support
c:\Code\arm\armlib\conf              <-- ARMlib template configuration files
c:\Code\arm\armlib\docs              <-- ARMlib documentation
c:\Code\arm\armlib\examples          <-- ARMlib example applications
c:\Code\arm\armlib\make              <-- ARMlib makefile include (armproj_make file in here)
c:\Code\arm\armlib\net               <-- ARMlib network support

Finally, you need to create an environment variable ARMLIB which points to the directory where you "installed" or unzipped the ARMlib files so the compiler can find them. An example might be:

ARMLIB = c:/code/arm/armlib         <-- change to actual ARMlib install directory

If you are unsure how to set environment variables on your system, look at the WinAVR/AVR-GCC installation guide elsewhere on this site or consult the web.

ARMlib installation is complete!

4. Testing

There are a few simple steps you can take to verify that ARMlib is properly installed:
(This assumes you have previously installed and tested the GCC ARM compiler)


Written by Pascal Stang | Updated: Monday, 06-Nov-2006 22:37:02 PST

Generated on Mon Nov 6 23:37:00 2006 for Procyon ARMlib by  doxygen 1.4.2