aboutsummaryrefslogtreecommitdiff
path: root/Sam.mk
diff options
context:
space:
mode:
authorJohn Whittington <git@jbrengineering.co.uk>2020-08-06 09:38:07 +0200
committerJohn Whittington <git@jbrengineering.co.uk>2020-08-06 12:32:17 +0200
commit264f8f604a2c29b7bd66a1e0d11f263db7582702 (patch)
treef3495a8161075d48a393d66a66cb9aff80dc7c1e /Sam.mk
parentbcce50471e264bcd8376b3c277600af629684083 (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 'Sam.mk')
-rw-r--r--Sam.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/Sam.mk b/Sam.mk
index f11554f..2aa3078 100644
--- a/Sam.mk
+++ b/Sam.mk
@@ -31,6 +31,16 @@ ifndef COMMON_INCLUDED
include $(ARDMK_DIR)/Common.mk
endif
+ifneq ($(TEST),)
+ CORE_VER = 1.8.6
+ CMSIS_VER = 4.5.0
+ CMSIS_ATMEL_VER = 1.2.0
+ ALTERNATE_CORE_PATH = $(DEPENDENCIES_DIR)/samd
+ CMSIS_DIR = $(DEPENDENCIES_DIR)/CMSIS/CMSIS
+ CMSIS_ATMEL_DIR = $(DEPENDENCIES_DIR)/CMSIS-Atmel/CMSIS
+ ARM_TOOLS_DIR = $(basename $(basename $(firstword $(wildcard $(DEPENDENCIES_DIR)/gcc-arm-none-eabi*))))
+endif
+
ifndef ARDUINO_PACKAGE_DIR
# attempt to find based on Linux, macOS and Windows default
ARDUINO_PACKAGE_DIR := $(firstword \