diff --git a/Marlin/Makefile b/Marlin/Makefile index b22cca6713..684e949acb 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -350,11 +350,11 @@ LDFLAGS = -lm AVRDUDE_PORT = $(UPLOAD_PORT) AVRDUDE_WRITE_FLASH = -Uflash:w:$(BUILD_DIR)/$(TARGET).hex:i ifeq ($(shell uname -s), Linux) -AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avrdude.conf +AVRDUDE_CONF = /etc/avrdude/avrdude.conf else AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf endif -AVRDUDE_FLAGS = -q -q -D -C$(AVRDUDE_CONF) \ +AVRDUDE_FLAGS = -D -C$(AVRDUDE_CONF) \ -p$(MCU) -P$(AVRDUDE_PORT) -c$(AVRDUDE_PROGRAMMER) \ -b$(UPLOAD_RATE)