Fix makefile to use proper arduino-cli semantics.
This commit is contained in:
parent
fcbf9a046a
commit
bca75ff5e6
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue