diff --git a/Makefile b/Makefile index ad7a5c7..bad66fd 100644 --- a/Makefile +++ b/Makefile @@ -94,9 +94,9 @@ ARCH ?= avr # USB port the Arduino board is connected to. # Linux: e.g. /dev/ttyUSB0, or /dev/ttyACM0 for the Uno. # BSD: e.g. /dev/cuaU0 +# USBASP: e.g. /dev/ttyS0 # It is a good idea to use udev rules to create a device name that is constant, # based on the serial number etc. of the USB device. -#PORT = /dev/ttyACM1 PORT ?= /dev/serial/by-id/*Arduino* # Arduino version (e.g. 23 for 0023, or 105 for 1.0.5). @@ -112,8 +112,10 @@ ARDUINO_DIR ?= /usr/share/arduino # Arduino 0.x based on 328P now need the new programmer protocol. # Arduino 1.6+ uses the avr109 programmer by default +# ICSP programmers can also be used, for example: usbasp # If unset, a default is chosen based on ARDUINO_MODEL and ARDUINO_FAMILY. -#AVRDUDE_PROGRAMMER = avr109 +#AVRDUDE_PROGRAMMER = usbasp +AVRDUDE_PROGRAMMER = avr109 # Arduino core sources. #ARDUINO_CORE ?= $(ARDUINO_DIR)/hardware/arduino/avr/cores/arduino diff --git a/README.md b/README.md index 211929e..febd96f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The Makefile has been tested for use with the latest versions of Arduino and avr Depending on your purposes, this makefile might also be able to upload a sketch to a raw ATMEL chip via a programmer. ### Latest versions tested: -- Arduino 1.6.1 +- Arduino 1.6.5 - avrdude 6.1 ## Quick Start