Explorar el Código

Merge Improve Makefile use of avrdude (PR#2477)

Richard Wackerbarth hace 10 años
padre
commit
096046c09f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      Marlin/Makefile

+ 2
- 2
Marlin/Makefile Ver fichero

@@ -350,11 +350,11 @@ LDFLAGS = -lm
350 350
 AVRDUDE_PORT = $(UPLOAD_PORT)
351 351
 AVRDUDE_WRITE_FLASH = -Uflash:w:$(BUILD_DIR)/$(TARGET).hex:i
352 352
 ifeq ($(shell uname -s), Linux)
353
-AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avrdude.conf
353
+AVRDUDE_CONF = /etc/avrdude/avrdude.conf
354 354
 else
355 355
 AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
356 356
 endif
357
-AVRDUDE_FLAGS = -q -q -D -C$(AVRDUDE_CONF) \
357
+AVRDUDE_FLAGS = -D -C$(AVRDUDE_CONF) \
358 358
 	-p$(MCU) -P$(AVRDUDE_PORT) -c$(AVRDUDE_PROGRAMMER) \
359 359
 	-b$(UPLOAD_RATE)
360 360
 

Loading…
Cancelar
Guardar