5. Installation of the Pololu AVR Library

Determine the location of your avr-gcc files. In Windows, they will usually be in a folder such as: C:\WinAVR-20080610\avr. In Linux, the avr-gcc files are probably located in /usr/avr.

If you are using Linux and the avr-gcc files are in /usr/avr, you can install the library simply by typing sudo make install from within the libpololu-avr directory.

If you currently have an older version of the Pololu AVR Library, your first step should be to delete all of the old include files and the libpololu.a file that you installed previously.

Next, copy libpololu.a into the lib subdirectory of your avr directory (e.g. C:\WinAVR-20080610\avr\lib.)

Finally, copy the entire pololu subfolder into the include subfolder. The Pololu include files should now be located in avr\include\pololu.

The Pololu AVR Library header files, installed correctly.

You are now ready to use the Pololu AVR library.