|
@@ -1,9 +1,9 @@
|
|
|
#!/bin/bash
|
|
|
sudo apt-get update
|
|
|
sudo apt-get install -y build-essential bison flex automake libelf-dev libusb-1.0-0-dev libusb-dev libftdi-dev libftdi1
|
|
|
-wget http://download.savannah.gnu.org/releases/avrdude/avrdude-6.3.tar.gz
|
|
|
-tar xvfz avrdude-6.3.tar.gz
|
|
|
-cd avrdude-6.3
|
|
|
+wget http://download.savannah.gnu.org/releases/avrdude/avrdude-6.1.tar.gz
|
|
|
+tar xvfz avrdude-6.1.tar.gz
|
|
|
+cd avrdude-6.1
|
|
|
./configure --enable-linuxgpio
|
|
|
make -j4
|
|
|
sudo make install
|
|
@@ -29,6 +29,6 @@ programmer
|
|
|
|
|
|
EOF
|
|
|
|
|
|
-sudo cp ~/avrdude_gpio.conf cp /usr/local/etc/avrdude.conf
|
|
|
+sudo cp ~/avrdude_gpio.conf /usr/local/etc/avrdude.conf
|
|
|
|
|
|
echo ""
|