Adjust path to avrdude/avrdude.conf for MPIDE in Linux.
This commit is contained in:
parent
24128a1819
commit
bc03025596
1 changed files with 11 additions and 3 deletions
|
@ -72,9 +72,17 @@ endif
|
|||
|
||||
AVR_TOOLS_DIR = $(ARDUINO_DIR)/hardware/pic32/compiler/pic32-tools
|
||||
|
||||
AVRDUDE_DIR = $(ARDUINO_DIR)/hardware/tools
|
||||
AVRDUDE = $(AVRDUDE_DIR)/avrdude
|
||||
AVRDUDE_CONF = $(AVRDUDE_DIR)/avrdude.conf
|
||||
# The same as in Arduino, the Linux distribution contains avrdude and
|
||||
# avrdude.conf in a different location.
|
||||
ifeq ($(CURRENT_OS),LINUX)
|
||||
AVRDUDE_DIR = $(ARDUINO_DIR)/hardware/tools
|
||||
AVRDUDE = $(AVRDUDE_DIR)/avrdude
|
||||
AVRDUDE_CONF = $(AVRDUDE_DIR)/avrdude.conf
|
||||
else
|
||||
AVRDUDE_DIR = $(ARDUINO_DIR)/hardware/tools/avr
|
||||
AVRDUDE = $(AVRDUDE_DIR)/bin/avrdude
|
||||
AVRDUDE_CONF = $(AVRDUDE_DIR)/etc/avrdude.conf
|
||||
endif
|
||||
|
||||
ALTERNATE_CORE = pic32
|
||||
ALTERNATE_CORE_PATH = $(MPIDE_DIR)/hardware/pic32
|
||||
|
|
Loading…
Reference in a new issue