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
 
49
 
50
 #Programmer configuration
50
 #Programmer configuration
51
 UPLOAD_RATE        ?= 115200
51
 UPLOAD_RATE        ?= 115200
52
-AVRDUDE_PROGRAMMER ?= arduino
52
+AVRDUDE_PROGRAMMER ?= wiring
53
 # on most linuxes this will be /dev/ttyACM0 or /dev/ttyACM1 
53
 # on most linuxes this will be /dev/ttyACM0 or /dev/ttyACM1 
54
 UPLOAD_PORT        ?= /dev/arduino
54
 UPLOAD_PORT        ?= /dev/arduino
55
 
55
 
361
 AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
361
 AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
362
 endif
362
 endif
363
 AVRDUDE_FLAGS = -q -q -D -C$(AVRDUDE_CONF) \
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
 	-b$(UPLOAD_RATE)
365
 	-b$(UPLOAD_RATE)
366
 
366
 
367
 # Define all object files.
367
 # Define all object files.

Loading…
Cancel
Save