coppino/examples/simple-udp-client/Makefile
2021-12-26 18:24:23 +01:00

16 lines
233 B
Makefile

BOARD ?= arduino:avr:diecimila
PORT ?= /dev/ttyUSB0
CCFLAGS += -Icfg
.PHONY: build flash
build:
arduino-cli compile -v -e --libraries coppino -b $(BOARD)
flash:
arduino-cli -b $(BOARD) -p $(PORT) -v upload
clean:
rm -r build