diff options
| author | John Whittington <git@jbrengineering.co.uk> | 2020-08-06 09:38:07 +0200 |
|---|---|---|
| committer | John Whittington <git@jbrengineering.co.uk> | 2020-08-06 12:32:17 +0200 |
| commit | 264f8f604a2c29b7bd66a1e0d11f263db7582702 (patch) | |
| tree | f3495a8161075d48a393d66a66cb9aff80dc7c1e /Common.mk | |
| parent | bcce50471e264bcd8376b3c277600af629684083 (diff) | |
Arduino IDE upto support version and SAMD builds
process uses direct downloads. Might be better to move to distribution
Arduino install + arduino-cli to install board support in future.
Diffstat (limited to 'Common.mk')
| -rw-r--r-- | Common.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -78,7 +78,11 @@ ifneq ($(TEST),) MPIDE_DIR = $(DEPENDENCIES_MPIDE_DIR) endif - DEPENDENCIES_ARDUINO_DIR = $(DEPENDENCIES_DIR)/arduino-1.0.6 + ifndef ARDUINO_IDE_DIR + ARDUINO_IDE_DIR := $(shell basename $(basename $(basename $(lastword $(wildcard $(DEPENDENCIES_DIR)/arduino*))))) + # ARDUINO_IDE_DIR := arduino + endif + DEPENDENCIES_ARDUINO_DIR = $(DEPENDENCIES_DIR)/$(ARDUINO_IDE_DIR) ifeq ($(ARDUINO_DIR),) ARDUINO_DIR = $(DEPENDENCIES_ARDUINO_DIR) endif |
