9 lines
162 B
Makefile
9 lines
162 B
Makefile
TARGET_BOARD=arduino:avr:uno
|
|
COM_PORT=/dev/ttyACM0
|
|
|
|
build:
|
|
arduino-cli compile -b ${TARGET_BOARD}
|
|
|
|
upload:
|
|
arduino-cli upload -b ${TARGET_BOARD} -p ${COM_PORT}
|