Fix makefile to use proper arduino-cli semantics.
This commit is contained in:
parent
fcbf9a046a
commit
bca75ff5e6
4
Makefile
4
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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user