hardware-projects/sc-panel/Makefile

9 lines
180 B
Makefile

TARGET_BOARD=arduino:avr:nano:cpu=atmega328old
COM_PORT=/dev/ttyUSB0
build:
arduino-cli compile -b ${TARGET_BOARD}
upload:
arduino-cli upload -b ${TARGET_BOARD} -p ${COM_PORT}