coppino/examples/simple-udp-client/Makefile

16 lines
233 B
Makefile
Raw Normal View History

2021-12-26 17:24:23 +00:00
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