AVRPi setup

This setup script makes it easy to install everything you need to program AVR microcontrollers from a Raspberry Pi. It installs (or has options to install):

ATmega32U4 specific:

install

To install the AVRPi setup tool:

cd
git clone https://github.com/onandoffables/avrpi-tools
cd avrpi-tools
./setup

setup

After you run ./setup, a menu appears. Depending on the board selected, the menu changes a little. You have the option of changing the board.

#######################################################################
#                          avrpi-tools                                #
#######################################################################

  Install everything in 1 easy step:
    e)    Arduino IDE + avrdude

  First time - fuses and test:
    s)    set board/chip/speed
    f)    set fuses for your board
    t)    make + upload test/blinky.hex

  Custom install:
    a)    apt-get all dependencies and toolchain (without Arduino)
    b)    install pre-compiled avrdude binary
    c)    compile + install avrdude from source
    p)    patch arduino

  Optional extra:
    w)    install wiringPi
    v)    install avrpi tool (and save board settings)

  Software and projects:
    m)    install Arduino-Makefile

    q)    quit

Enter your choice:

You have the option of installing everything in 1 easy step. Choose 'e' for this. That patches the Arduino IDE and libraries and installs a pre-compiled version of avrdude.

Use the 'custom install' options to tweak the installation process. For example, if you only want to install linuxgpio-enabled avrdude without the Arduino IDE and library (option 'b' or 'c').