Browse Source

Remove hardcoded programmer option (-cwiring). Use variable AVRDUDE_PROGRAMMER.

Change default value of AVRDUDE_PROGRAMMER to 'wiring'.
Denis Chertykov 10 years ago
parent
commit
ba3ac40b9d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Makefile

+ 2
- 2
Marlin/Makefile View File

@@ -49,7 +49,7 @@ AVR_TOOLS_PATH ?=
49 49
 
50 50
 #Programmer configuration
51 51
 UPLOAD_RATE        ?= 115200
52
-AVRDUDE_PROGRAMMER ?= arduino
52
+AVRDUDE_PROGRAMMER ?= wiring
53 53
 # on most linuxes this will be /dev/ttyACM0 or /dev/ttyACM1 
54 54
 UPLOAD_PORT        ?= /dev/arduino
55 55
 
@@ -361,7 +361,7 @@ else
361 361
 AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
362 362
 endif
363 363
 AVRDUDE_FLAGS = -q -q -D -C$(AVRDUDE_CONF) \
364
-	-p$(MCU) -P$(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) -cwiring\
364
+	-p$(MCU) -P$(AVRDUDE_PORT) -c$(AVRDUDE_PROGRAMMER) \
365 365
 	-b$(UPLOAD_RATE)
366 366
 
367 367
 # Define all object files.

Loading…
Cancel
Save