From 7e66672a6c8d1e60c492bfaf992288d2c9b6a692 Mon Sep 17 00:00:00 2001 From: Sudar Date: Sun, 23 Jun 2013 13:08:06 +0530 Subject: Auto detect alternate core path from sketchbook folder Fix #86 --- examples/ATtinyBlink/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples/ATtinyBlink') diff --git a/examples/ATtinyBlink/Makefile b/examples/ATtinyBlink/Makefile index a851ad8..12d4a1f 100644 --- a/examples/ATtinyBlink/Makefile +++ b/examples/ATtinyBlink/Makefile @@ -1,8 +1,11 @@ # Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile +# if you have placed the alternate core in your sketchbook directory, then you can just mention the core name alone. +ALTERNATE_CORE = attiny +# If not, you might have to include the full path. +#ALTERNATE_CORE_PATH = /home/sudar/Dropbox/code/arduino-sketches/hardware/attiny/ + BOARD_TAG = attiny85-8 -ARDUINO_VAR_PATH = /home/sudar/Dropbox/code/arduino-sketches/hardware/attiny/variants -BOARDS_TXT = /home/sudar/Dropbox/code/arduino-sketches/hardware/attiny/boards.txt ISP_PORT = /dev/ttyACM* include $(ARDMK_DIR)/arduino-mk/Arduino.mk -- cgit v1.2.3