From 3f32563683a90d471c7ff97216b000e922851c72 Mon Sep 17 00:00:00 2001 From: John Whittington Date: Tue, 12 Jun 2018 13:59:58 +0100 Subject: Support for Arduino Due added Update HISTORY.md Add avr core emulation to C sources --- examples/DueBlink/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 examples/DueBlink/Makefile (limited to 'examples/DueBlink/Makefile') 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 -- cgit v1.2.3