Skip to content

Instantly share code, notes, and snippets.

@allbinmani
Created November 14, 2016 13:05
Show Gist options
  • Save allbinmani/ca6755d894fde530fb37450f25b2cc10 to your computer and use it in GitHub Desktop.
Save allbinmani/ca6755d894fde530fb37450f25b2cc10 to your computer and use it in GitHub Desktop.
Step-by-step info for compiling / building / installing avrdude 6.1 on Raspberry Pi / Raspbian

Prerequisites

# apt-get install libusb-dev bison flex build-essential 

Download/extract avrdude source

# wget http://download.savannah.gnu.org/releases/avrdude/avrdude-6.1.tar.gz
# tar xfz avrdude-6.1.tar.gz

alt

# curl http://download.savannah.gnu.org/releases/avrdude/avrdude-6.1.tar.gz | tar xfz -

Configure avrdude

# cd avrdude-6.1
# ./configure --prefix=/opt/avrdude

GPIO support

# ./configure --prefix=/opt/avrdude --enable-linuxgpio

Build

# make

Install

# make install

Run

# /opt/avrdude/avrdude

Config

# /opt/avrdude/etc/avrdude.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment