Skip to content

Commit 1de3e49

Browse files
committed
Arduino-mk: Update to version 1.6.0
This version of Arduino-mk supports Arduino >= 1.5.x and its new library format. As this isn't packaged in Debian/Ubuntu, point to an installation in /opt if it exists.
1 parent bbc75e3 commit 1de3e49

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/arduino-config.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ MONITOR_CMD ?= picocom
66
ARDMK_DIR ?= $(realpath ../../tools/arduino-mk)
77
ARDMK_FILE ?= $(ARDMK_DIR)/Arduino.mk
88

9+
ifneq ($(wildcard /opt/arduino),)
10+
ARDUINO_DIR = $(realpath /opt/arduino)
11+
endif
12+
913
# Helpful aliases
1014
.PHONY: default serial flash
1115
default: all

0 commit comments

Comments
 (0)