16 lines
166 B
Makefile
16 lines
166 B
Makefile
|
|
||
|
DEVICE = /dev/ttyUSB0
|
||
|
|
||
|
all: build upload monitor
|
||
|
|
||
|
clean:
|
||
|
pio run -t clean
|
||
|
|
||
|
upload:
|
||
|
pio run -t upload
|
||
|
|
||
|
build:
|
||
|
pio run -v
|
||
|
|
||
|
monitor:
|
||
|
pio device monitor -p $(DEVICE)
|