From d841c3f85d4fb798778d20d5675e02f83b2b73cc Mon Sep 17 00:00:00 2001 From: Alissa Huskey Date: Tue, 12 Nov 2019 21:18:00 -0700 Subject: [PATCH] Fix test path for mac --- Common.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Common.mk b/Common.mk index 0c1f92c..b17fe09 100644 --- a/Common.mk +++ b/Common.mk @@ -69,7 +69,13 @@ ifneq ($(TEST),) MPIDE_DIR = $(DEPENDENCIES_MPIDE_DIR) endif - DEPENDENCIES_ARDUINO_DIR = $(DEPENDENCIES_DIR)/arduino-1.0.6 + ifeq ($(CURRENT_OS),MAC) + IDE_DIRNAME=Arduino.app/Contents/Resources/Java + else + IDE_DIRNAME=arduino-1.0.6 + endif + + DEPENDENCIES_ARDUINO_DIR = $(DEPENDENCIES_DIR)/$(IDE_DIRNAME) ifeq ($(ARDUINO_DIR),) ARDUINO_DIR = $(DEPENDENCIES_ARDUINO_DIR) endif