Fix AVR tools paths for chipKIT in Linux.
This commit is contained in:
parent
a06136aafc
commit
43a4cedde5
1 changed files with 6 additions and 1 deletions
|
@ -57,8 +57,13 @@ ifndef MPIDE_PREFERENCES_PATH
|
|||
endif
|
||||
endif
|
||||
|
||||
# The same as in Arduino, the Linux distribution contains avrdude and #
|
||||
# avrdude.conf in a different location, but for chipKIT it's even slightly
|
||||
# different than the Linux paths for Arduino, so we have to "double override".
|
||||
ifeq ($(CURRENT_OS),LINUX)
|
||||
BUNDLED_AVR_TOOLS_DIR = $(call dir_if_exists,$(MPIDE_DIR)/hardware/tools)
|
||||
AVRDUDE_DIR = $(ARDUINO_DIR)/hardware/tools
|
||||
AVRDUDE = $(AVRDUDE_DIR)/avrdude
|
||||
AVRDUDE_CONF = $(AVRDUDE_DIR)/avrdude.conf
|
||||
endif
|
||||
|
||||
PIC32_TOOLS_DIR = $(ARDUINO_DIR)/hardware/pic32/compiler/pic32-tools
|
||||
|
|
Loading…
Reference in a new issue