www.pudn.com > IrDA.rar > README


***** BlauLogic IrDA Applications *****

Copyright (C) 2002-2003 Gerd Rausch, BlauLogic (http://blaulogic.com)
All rights reserved.

This package includes IrDA applications for the Atmel AVR micocontroller
and is distributed under the license described in the attached COPYRIGHT
file.

Currently the following Atmel AVR MCUs are supported:
* AT90S8515
* ATmega163
* ATmega161
* ATmega8

In order to use this package you also need the BlauLogic Pico-IrDA stack
which is available at http://blaulogic.com

Extract the Pico-IrDA stack in the same directory you've extracted this
package, i.e. one directory above the one this file is contained in.
Then create a symbolic link to point to the Pico-IrDA version you've installed
named "irda", pointing to the version of Pico-IrDA you've extracted.
Example command for version 1.0:
$ ln -s irda-1.0 irda

Make sure you've got GCC for AVR installed and accessible from your PATH.

You need to configure "config.mk" according to your preferences:
* AVR_BOARD
  Set this variable to the AVR board or programmer you're using
* AVR_MCU
  The target AVR MCU you want to compile for.
  If you choose to compile for the AT90S8515 you might want to append
  "$(AVR_SIZE_OPT)" to the end of the "CC" definition
  If you're using an ATmega8 and you've got an incomplete installation
  of the AVR GCC (just like me) you can set "CC_LD" to "$(CC_LD_ATMEGA8)"
  to work around that problem
* AVR_OSC_FREQ
  Set this variable to the frequency of your external crystal or clock

Then simply call "make" and keep your fingers crossed.

If everything goes well, you should end up having all the
applications compiled and ready for upload.

Go to the application directory and call "make upload".
This requires "uisp" to be installed.