From b31b7d77ed0b787ac2b615beeeb6cb4339229538 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 31 Jan 2017 21:37:12 +0000 Subject: Adafruit reference and Makefile --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) mode change 100644 => 100755 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index e69de29..18c0068 --- a/Makefile +++ b/Makefile @@ -0,0 +1,8 @@ +mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) +current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path)))) +all: + arduino --board adafruit:avr:feather32u4 --pref build.path=$(pwd)/build --verify $(pwd)/main.ino +clean: + rm -rf build +upload: + arduino --board adafruit:avr:feather32u4 --port /dev/ttyACM0 --upload $(pwd)/main.ino -- cgit v1.2.3-70-g09d2