2.b. Manual Installation
The standard way to install the library is documented in the Pololu AVR Programming Quick Start Guide. If for some reason the standard way of installing the library doesn’t work for you, it is easy to install the library manually.
First, determine the location of your avr-gcc files. This will typically be one of:
C:\Program Files (x86)\Atmel\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr
C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\22.214.171.1242\avr8-gnu-toolchain\avr
C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\126.96.36.199\AVRToolchain\avr
C:\Program Files (x86)\Atmel\AVR Studio 5.1\extensions\Atmel\AVRGCC\188.8.131.52\AVRToolchain\avr
C:\Program Files (x86)\Atmel\AVR Studio 5.0\AVR Toolchain\avr
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
libpololu_*.a files that you installed previously.
Next, copy the
libpololu_*.a files into the
lib subdirectory of your
avr directory (e.g.
/usr/lib/avr/lib). These library files represent separate compilations for the different AVR microcontrollers found on our Orangutans and 3pi robot. There are two different compilations for the ATmega1284P, one for the Orangutan SVP and one for the Orangutan X2. When you make your own projects, you will need to use the appropriate library for your particular microcontroller.
Finally, copy the entire
pololu subdirectory into the
include subdirectory of the
avr directory. The Pololu include files should now be located in