Makefile 314 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
all: build serial

build:
	platformio run -e uno -t upload

serial:
	picocom -b 9600 /dev/ttyACM0

install-picocom:
	sudo apt-get install picocom

install-platformio:
	sudo python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"

clean:
	rm -rf .pioenvs/