Merge pull request #302 from sej7278/master
Moved location of avrdude and avrdude.conf for 1.5.8 on Linux (only!)
This commit is contained in:
commit
e18132e269
2 changed files with 12 additions and 2 deletions
13
Arduino.mk
13
Arduino.mk
|
@ -403,11 +403,20 @@ ifndef AVR_TOOLS_DIR
|
||||||
ifeq ($(CURRENT_OS),LINUX)
|
ifeq ($(CURRENT_OS),LINUX)
|
||||||
|
|
||||||
ifndef AVRDUDE
|
ifndef AVRDUDE
|
||||||
AVRDUDE = $(AVR_TOOLS_DIR)/../avrdude
|
ifeq ($(shell expr $(ARDUINO_VERSION) '>' 157), 1)
|
||||||
|
# 1.5.8 has different location than all prior versions!
|
||||||
|
AVRDUDE = $(AVR_TOOLS_DIR)/bin/avrdude
|
||||||
|
else
|
||||||
|
AVRDUDE = $(AVR_TOOLS_DIR)/../avrdude
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef AVRDUDE_CONF
|
ifndef AVRDUDE_CONF
|
||||||
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/../avrdude.conf
|
ifeq ($(shell expr $(ARDUINO_VERSION) '>' 157), 1)
|
||||||
|
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/etc/avrdude.conf
|
||||||
|
else
|
||||||
|
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/../avrdude.conf
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
|
@ -23,6 +23,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
|
||||||
- Tweak: Update travis-ci to test against Arduino 1.0.6. (https://github.com/sej7278)
|
- Tweak: Update travis-ci to test against Arduino 1.0.6. (https://github.com/sej7278)
|
||||||
- Tweak: Updated package instructions for Arch/Fedora/Raspbian. (https://github.com/sej7278)
|
- Tweak: Updated package instructions for Arch/Fedora/Raspbian. (https://github.com/sej7278)
|
||||||
- Tweak: Remove $(EXTRA_XXX) variables (Issue #234) (https://github.com/ladislas)
|
- Tweak: Remove $(EXTRA_XXX) variables (Issue #234) (https://github.com/ladislas)
|
||||||
|
- Tweak: Moved location of avrdude for 1.5.8 on Linux (Issue #301) (https://github.com/sej7278)
|
||||||
|
|
||||||
- Fix: Improved Windows (Cygwin/MSYS) support (https://github.com/PeterMosmans)
|
- Fix: Improved Windows (Cygwin/MSYS) support (https://github.com/PeterMosmans)
|
||||||
- Fix: Change "tinyladi" username to "ladislas" in HISTORY.md. (https://github.com/ladislas)
|
- Fix: Change "tinyladi" username to "ladislas" in HISTORY.md. (https://github.com/ladislas)
|
||||||
|
|
Loading…
Reference in a new issue