From bca75ff5e63e257288ac4d0e00ca45069e23f3a8 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Wed, 13 May 2020 01:21:31 -0400 Subject: [PATCH] Fix makefile to use proper arduino-cli semantics. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c23101f..aa886bb 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ UPLOAD_PORT ?= /dev/ttyUSB0 all: build build: - arduino-cli compile -b ${BOARD_NAME} smartswitch.ino + arduino-cli compile -b ${BOARD_NAME} ${PWD} upload: - arduino-cli upload -b ${BOARD_NAME} -p ${UPLOAD_PORT} smartswitch.ino + arduino-cli upload -b ${BOARD_NAME} -p ${UPLOAD_PORT} ${PWD}