aboutsummaryrefslogtreecommitdiff
path: root/examples/DueBlink/Makefile
diff options
context:
space:
mode:
authorJohn Whittington <git@jbrengineering.co.uk>2018-06-12 13:59:58 +0100
committerJohn Whittington <git@jbrengineering.co.uk>2018-06-14 07:29:06 +0100
commit3f32563683a90d471c7ff97216b000e922851c72 (patch)
tree0f14d80d0a04dee8dd739a6985fdcfb24039ef82 /examples/DueBlink/Makefile
parent0809b5460617f2217d8b4b0f9a57758e220c429c (diff)
Support for Arduino Due added
Update HISTORY.md Add avr core emulation to C sources
Diffstat (limited to 'examples/DueBlink/Makefile')
-rw-r--r--examples/DueBlink/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/DueBlink/Makefile b/examples/DueBlink/Makefile
new file mode 100644
index 0000000..8a7ad6e
--- /dev/null
+++ b/examples/DueBlink/Makefile
@@ -0,0 +1,19 @@
+# Arduino Due uses SAM3X8E SAM chip
+BOARD_TAG = arduino_due_x
+ARCHITECTURE = sam
+
+# Define ARM toolchain dir if not using Arduino supplied
+#ARM_TOOLS_DIR = /usr
+
+# Define AVR toolchain dir if not using Arduino supplied and using native port
+#AVR_TOOLS_DIR = /usr
+
+# Define Arduino support package installation path where SAM device support has been installed
+# Linux
+#ARDUINO_PACKAGE_DIR := $(HOME)/.arduino15/packages
+# macOS
+#ARDUINO_PACKAGE_DIR := $(HOME)/Library/Arduino15/packages
+# Windows
+#ARDUINO_PACKAGE_DIR := "C:/Users/$(USER)/AppData/Local/Arduino15/packages"
+
+include ../../Sam.mk