From f98380b201966b8a7d8d8af2175b3ecba53c1aea Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Fri, 3 Feb 2017 00:04:07 +0000 Subject: set correct serial ports --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 18c0068..b831f77 100755 --- a/Makefile +++ b/Makefile @@ -1,8 +1,6 @@ -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 + arduino --board adafruit:avr:feather32u4 --pref build.path=./build --verify ./main.ino clean: - rm -rf build + rm -rf ./build upload: - arduino --board adafruit:avr:feather32u4 --port /dev/ttyACM0 --upload $(pwd)/main.ino + arduino --board adafruit:avr:feather32u4 --port /dev/ttyACM0 --upload ./main.ino -- cgit v1.2.3-70-g09d2