Skip to content
Snippets Groups Projects
Commit 0e064357 authored by Richard Marko's avatar Richard Marko Committed by Richard Wackerbarth
Browse files

makefile: use /etc/avrdude/avrdude.conf on linux

No need to look for arduino specific avrdude configuration
as distributions ship their own avrdude.conf file that
is compatible with arduino.
parent 960de341
No related branches found
No related tags found
No related merge requests found
......@@ -350,7 +350,7 @@ 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment