Fix makefile to use proper arduino-cli semantics.

This commit is contained in:
Anna Rose 2020-05-13 01:21:31 -04:00
parent fcbf9a046a
commit bca75ff5e6

View File

@ -6,7 +6,7 @@ UPLOAD_PORT ?= /dev/ttyUSB0
all: build all: build
build: build:
arduino-cli compile -b ${BOARD_NAME} smartswitch.ino arduino-cli compile -b ${BOARD_NAME} ${PWD}
upload: upload:
arduino-cli upload -b ${BOARD_NAME} -p ${UPLOAD_PORT} smartswitch.ino arduino-cli upload -b ${BOARD_NAME} -p ${UPLOAD_PORT} ${PWD}