Skip to content

h-2-0/avrpi-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

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):

  • Arduino IDE 1.0.1 (with patches for board and programmer)
  • avrdude-6.2 (with linuxgpio support)
  • avrpi (tool to interact easily with your Atmel microcontroller)
  • Arduino-Makefile (because friends don't let friends use the Arduino IDE)
  • wiringpi (superduper handy tool to interact with the Raspberry Pi GPIO)

ATmega32U4 specific:

  • LUFA (the library to use if you're serious about creating a USB Device out of your AVR)
  • dfu-programmer (to use a USB enabled board standalone with a custom bootloader)

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').

About

Installs everything needed to program AVR microcontrollers with Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 30.2%
  • C 29.4%
  • C++ 18.5%
  • Shell 18.0%
  • Other 2.0%
  • Processing 1.9%