Your Name 5 years ago
parent
commit
2125240f1c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Install_tools/install_pi.sh

+ 4 - 4
Install_tools/install_pi.sh

@@ -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 ""